/* ========================================
   页面特定样式 - index26
   依赖 common.css 提供基础样式
   ======================================== */

body {
    background: linear-gradient(to bottom, #ffffff 0%, #f5f5f7 100%);
    padding-top: 70px;
    /* 禁止移动端浏览器自动调整字体大小 */
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}



/* ========================================
   视频轮播区域
   ======================================== */
.video-carousel {
    position: relative;
    width: 100%;
    height: 850px;
    overflow: hidden;
    background: #1a1a1a url('imgs/banner-bg.png') center center no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* padding-top: 80px; */
}

/* Hero Text Overlay */
.hero-text-overlay {
    position: relative;
    z-index: 20;
    text-align: center;
    color: white;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
    pointer-events: none;
    width: 90%;
    max-width: 1200px;
    margin-bottom: 40px;
    margin-top: 30px;
}

.hero-main-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 4px;
    line-height: 1.2;
    animation: fadeInDown 1s ease;
}

.hero-subtitle-text {
    font-size: 20px;
    font-weight: 400;
    opacity: 0.9;
    letter-spacing: 2px;
    animation: fadeInDown 1s ease 0.2s backwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 950px;
    height: 600px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.carousel-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 950px;
    height: auto;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
    border-radius: 6px;
    border: 2px solid #00000042;
    /* box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); */
    box-shadow: 0 0px 10px rgb(100 74 74);
}

.carousel-video.active {
    opacity: 1;
    pointer-events: auto;
}

/* 视频加载动画 */
.video-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 30;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.video-loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.video-loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: #ff6b35;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.video-loading-text {
    color: white;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* 视频播放按钮（默认显示） */
.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.6);
    border: 3px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    cursor: pointer;
    z-index: 25;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    opacity: 1;
    visibility: visible;
}

.video-play-button.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.video-play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(0, 0, 0, 0.8);
}

.video-play-button svg {
    margin-left: 3px;
}

/* Carousel Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) translateZ(0);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s ease, border-color 0.2s ease;
    z-index: 15;
    /* 移除backdrop-filter，改用更高不透明度 */
    will-change: transform;
    backface-visibility: hidden;
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1) translateZ(0);
}

.carousel-arrow svg {
    width: 28px;
    height: 28px;
}

.carousel-arrow-left {
    left: 20px;
}

.carousel-arrow-right {
    right: 20px;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 15;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.indicator.active {
    background: white;
    width: 32px;
    border-radius: 5px;
}

/* Services Features Section */

/*
.services-features {
    padding: 60px 20px;
    background: #ffffff;
    border-bottom: 1px solid #e5e5e7;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
   
    color: #ff6b35;
    transition: transform 0.3s ease;
}

.service-item:hover .service-icon {
    transform: scale(1.1);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-title {
    font-size: 16px;
    font-weight: 500;
    color: #1d1d1f;
    line-height: 1.4;
}*/

/* Packaging Showcase Section */
.packaging-showcase {
    padding: 80px 20px;
    background: #ffffff;
    /* 优化滚动性能 */
    -webkit-overflow-scrolling: touch;
}

.packaging-container {
    max-width: 1600px;
    margin: 0 auto;
}

/* Category Tabs */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

/* 手机端横向滚动 */
@media (max-width: 768px) {
    .category-tabs {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
        padding: 0 20px;
        margin-left: -20px;
        margin-right: -20px;
        width: calc(100% + 40px);
    }
    
    /* 隐藏滚动条 */
    .category-tabs::-webkit-scrollbar {
        display: none;
    }
    
    /* 防止按钮收缩 */
    .category-tabs .category-tab {
        flex-shrink: 0;
        white-space: nowrap;
    }
}

.category-tab {
    padding: 12px 32px;
    background: #f5f5f7;
    border: none;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 500;
    color: #1d1d1f;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    /* 启用GPU加速 */
    will-change: background, color;
    transform: translateZ(0);
}

.category-tab:hover {
    background: #e8e8ed;
}

.category-tab.active {
    background: #1d1d1f;
    color: #ffffff;
}

/* Products Grid */
.products-grid {
    padding-top:10px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    /* 优化渲染性能 */
    contain: layout style paint;
}

.product-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #f5f5f7;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* 启用GPU加速 */
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    /* 初始状态不透明 */
    opacity: 1;
    /* 链接样式 */
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

/* 隐藏状态 - 使用visibility而不是display，避免重排 */
.product-card.hidden {
    display: none;
    opacity: 0;
}

/* 淡入动画类 - 只在筛选时添加 */
.product-card.fade-in-animation {
    animation: fadeInFilter 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInFilter {
    from {
        opacity: 0;
        transform: translateY(15px) translateZ(0);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateZ(0);
    }
}

.product-card:hover {
    transform: translateY(-8px) translateZ(0);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    /* 启用GPU加速 */
    transform: translateZ(0);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* 启用GPU加速 */
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.product-card:hover .product-image img {
    transform: scale(1.08) translateZ(0);
}

/* Product Tags */
.product-tags {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    z-index: 2;
    max-width: calc(100% - 24px);
}

.product-tag {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    /* 移除性能杀手backdrop-filter，改用半透明背景 */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), 
                inset 0 1px 1px rgba(255, 255, 255, 0.3);
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    /* 启用GPU加速 */
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.product-card:hover .product-tag {
    transform: translateY(-2px) translateZ(0);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25),
                inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

/* 方案1: 纯黑白毛玻璃（推荐 - 最高级简洁） */
.tag-copyright {
    background: rgba(0, 0, 0, 0.65);
    color: white;
}

.tag-3d {
    background: rgba(0, 0, 0, 0.65);
    color: white;
}

.tag-shop {
    background: rgba(0, 0, 0, 0.65);
    color: white;
}

/* 方案2: 白色毛玻璃（可选 - 更轻盈）
.tag-copyright {
    background: rgba(255, 255, 255, 0.85);
    color: #1d1d1f;
}

.tag-3d {
    background: rgba(255, 255, 255, 0.85);
    color: #1d1d1f;
}

.tag-shop {
    background: rgba(255, 255, 255, 0.85);
    color: #1d1d1f;
}
*/

/* 方案3: 深色毛玻璃带细微色彩区分（可选 - 平衡方案）
.tag-copyright {
    background: rgba(30, 30, 40, 0.75);
    color: #e8e8ff;
    border-color: rgba(102, 126, 234, 0.3);
}

.tag-3d {
    background: rgba(40, 30, 35, 0.75);
    color: #ffe8f0;
    border-color: rgba(240, 147, 251, 0.3);
}

.tag-shop {
    background: rgba(25, 35, 40, 0.75);
    color: #e8f8ff;
    border-color: rgba(79, 172, 254, 0.3);
}
*/

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* 移除backdrop-filter，改用纯色背景 */
    background: rgba(0, 0, 0, 0.85);
    display: none; /* 隐藏遮罩层 */
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    /* 启用GPU加速 */
    will-change: opacity;
    transform: translateZ(0);
}

.product-card:hover .product-overlay {
    opacity: 0; /* 不显示遮罩 */
    visibility: hidden;
}

.overlay-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    width: 100%;
    max-width: 200px;
}

.action-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    /* 启用GPU加速 */
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.action-btn:hover {
    transform: translateY(-2px) translateZ(0);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-detail {
    background: white;
    color: #1d1d1f;
}

.btn-detail:hover {
    background: #f5f5f7;
}

.btn-3d {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.btn-3d:hover {
    background: linear-gradient(135deg, #f5a3ff 0%, #ff677c 100%);
}

.btn-copyright {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-copyright:hover {
    background: linear-gradient(135deg, #778eff 0%, #865bb2 100%);
}

.btn-shop {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.btn-shop:hover {
    background: linear-gradient(135deg, #5fbcff 0%, #10ffff 100%);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .overlay-actions {
        gap: 10px;
        padding: 15px;
        max-width: 160px;
    }
    
    .action-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    .carousel-video{
        width: 100%;
    }
    .video-carousel{
        /* max-height: 460px; */
        max-height:calc(100vw /(4.5/5) );
    }
    
    
}

/* Hero Section */
/* Intellectual Property Section */
.ip-section {
    padding: 100px 20px;
    /* background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); */
    position: relative;
    overflow: hidden;
}

.ip-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    /* background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(247, 147, 30, 0.05) 100%); */
    z-index: 0;
}

.ip-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.ip-header {
    text-align: center;
    margin-bottom: 60px;
}

.ip-title {
    font-size: 56px;
    font-weight: 800;
    color:#1d1d1f;
    /* background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%); */
    /* -webkit-background-clip: text; */
    /* -webkit-text-fill-color: transparent; */
    background-clip: text;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.ip-subtitle {
    font-size: 24px;
    color: #6c757d;
    font-weight: 600;
    letter-spacing: 2px;
}

/* 叠加轮播容器 */
.certificates-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 600px;
    margin: 0 auto 80px;
    perspective: 1200px;
}

.certificates-stack {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.certificate-item {
    position: absolute;
    width: 400px;
    height: 550px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s cubic-bezier(0.4, 0, 0.2, 1), z-index 0s;
    cursor: pointer;
    overflow: hidden;
    /* 启用GPU加速 */
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.certificate-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* 启用GPU加速 */
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.certificate-item:hover img {
    transform: scale(1.05) translateZ(0);
}

/* 叠加效果 - 9张卡片的位置和样式 */
/* 左侧4张 */
.certificate-item[data-position="0"] {
    transform: translateX(-720px) scale(0.5) rotateY(25deg);
    opacity: 0.3;
    z-index: 1;
    filter: blur(3px);
}

.certificate-item[data-position="1"] {
    transform: translateX(-540px) scale(0.6) rotateY(20deg);
    opacity: 0.4;
    z-index: 2;
    filter: blur(2.5px);
}

.certificate-item[data-position="2"] {
    transform: translateX(-360px) scale(0.7) rotateY(15deg);
    opacity: 0.5;
    z-index: 3;
    filter: blur(2px);
}

.certificate-item[data-position="3"] {
    transform: translateX(-180px) scale(0.85) rotateY(8deg);
    opacity: 0.7;
    z-index: 4;
    filter: blur(1px);
}

/* 中间1张 - 添加鼠标悬停提示效果 */
.certificate-item[data-position="4"] {
    transform: translateX(0) scale(1) rotateY(0deg);
    opacity: 1;
    z-index: 5;
    filter: blur(0);
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.3);
    position: relative;
}

/* 🎯 中间证书的悬停提示效果 */
.certificate-item[data-position="4"]::before {
    content: '点击查看大图';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 10;
    white-space: nowrap;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.certificate-item[data-position="4"]::after {
    content: '👆';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% - 60px));
    font-size: 32px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 10;
    animation: bounce 1.5s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translate(-50%, calc(-50% - 60px));
    }
    50% {
        transform: translate(-50%, calc(-50% - 70px));
    }
}

/* 鼠标悬停时显示提示 */
.certificate-item[data-position="4"]:hover::before,
.certificate-item[data-position="4"]:hover::after {
    opacity: 1;
    visibility: visible;
}

/* 鼠标悬停时图片微微缩小，突出提示 */
.certificate-item[data-position="4"]:hover {
    box-shadow: 0 25px 80px rgba(255, 107, 53, 0.5);
}

.certificate-item[data-position="4"]:hover img {
    transform: scale(0.95) translateZ(0);
    filter: brightness(0.8);
}

/* 右侧4张 */
.certificate-item[data-position="5"] {
    transform: translateX(180px) scale(0.85) rotateY(-8deg);
    opacity: 0.7;
    z-index: 4;
    filter: blur(1px);
}

.certificate-item[data-position="6"] {
    transform: translateX(360px) scale(0.7) rotateY(-15deg);
    opacity: 0.5;
    z-index: 3;
    filter: blur(2px);
}

.certificate-item[data-position="7"] {
    transform: translateX(540px) scale(0.6) rotateY(-20deg);
    opacity: 0.4;
    z-index: 2;
    filter: blur(2.5px);
}

.certificate-item[data-position="8"] {
    transform: translateX(720px) scale(0.5) rotateY(-25deg);
    opacity: 0.3;
    z-index: 1;
    filter: blur(3px);
}

/* 隐藏其他卡片 */
.certificate-item:not([data-position]) {
    opacity: 0;
    transform: translateX(900px) scale(0.3);
    z-index: 0;
}

/* 切换按钮 */
.cert-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) translateZ(0);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
    /* 启用GPU加速 */
    will-change: transform;
    backface-visibility: hidden;
}

.cert-arrow:hover {
    transform: translateY(-50%) scale(1.1) translateZ(0);
    box-shadow: 0 6px 30px rgba(255, 107, 53, 0.6);
}

.cert-arrow:active {
    transform: translateY(-50%) scale(0.95) translateZ(0);
}

.cert-arrow svg {
    width: 28px;
    height: 28px;
}

.cert-arrow-left {
    left: 20px;
}

.cert-arrow-right {
    right: 20px;
}

.ip-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 50px;
    background: white;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.ip-stat-item {
    text-align: center;
}

.ip-stat-number {
    font-size: 56px;
    font-weight: 900;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    letter-spacing: -2px;
}

.ip-stat-label {
    font-size: 18px;
    color: #6c757d;
    font-weight: 600;
    letter-spacing: 1px;
}

.ip-stat-divider {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, #dee2e6, transparent);
}

/* 响应式设计 */
@media (max-width: 1400px) {
    .certificates-carousel-wrapper {
        max-width: 800px;
        height: 550px;
    }
    
    .certificate-item {
        width: 350px;
        height: 480px;
    }
    
    .certificate-item[data-position="0"] {
        transform: translateX(-630px) scale(0.5) rotateY(25deg);
    }
    
    .certificate-item[data-position="1"] {
        transform: translateX(-470px) scale(0.6) rotateY(20deg);
    }
    
    .certificate-item[data-position="2"] {
        transform: translateX(-315px) scale(0.7) rotateY(15deg);
    }
    
    .certificate-item[data-position="3"] {
        transform: translateX(-157px) scale(0.85) rotateY(8deg);
    }
    
    .certificate-item[data-position="5"] {
        transform: translateX(157px) scale(0.85) rotateY(-8deg);
    }
    
    .certificate-item[data-position="6"] {
        transform: translateX(315px) scale(0.7) rotateY(-15deg);
    }
    
    .certificate-item[data-position="7"] {
        transform: translateX(470px) scale(0.6) rotateY(-20deg);
    }
    
    .certificate-item[data-position="8"] {
        transform: translateX(630px) scale(0.5) rotateY(-25deg);
    }
}

@media (max-width: 1024px) {
    .certificates-carousel-wrapper {
        max-width: 700px;
        height: 500px;
    }
    
    .certificate-item {
        width: 300px;
        height: 420px;
    }
    
    .certificate-item[data-position="0"] {
        transform: translateX(-540px) scale(0.5) rotateY(25deg);
    }
    
    .certificate-item[data-position="1"] {
        transform: translateX(-405px) scale(0.6) rotateY(20deg);
    }
    
    .certificate-item[data-position="2"] {
        transform: translateX(-270px) scale(0.7) rotateY(15deg);
    }
    
    .certificate-item[data-position="3"] {
        transform: translateX(-135px) scale(0.85) rotateY(8deg);
    }
    
    .certificate-item[data-position="5"] {
        transform: translateX(135px) scale(0.85) rotateY(-8deg);
    }
    
    .certificate-item[data-position="6"] {
        transform: translateX(270px) scale(0.7) rotateY(-15deg);
    }
    
    .certificate-item[data-position="7"] {
        transform: translateX(405px) scale(0.6) rotateY(-20deg);
    }
    
    .certificate-item[data-position="8"] {
        transform: translateX(540px) scale(0.5) rotateY(-25deg);
    }
}

@media (max-width: 768px) {
    .ip-section {
        padding: 60px 20px;
    }
    
    .ip-title {
        font-size: 36px;
    }
    
    .ip-subtitle {
        font-size: 18px;
    }
    
    .certificates-carousel-wrapper {
        max-width: 100%;
        height: 450px;
        padding: 0 10px;
    }
    
    .certificate-item {
        width: 260px;
        height: 360px;
    }
    
    /* 移动端显示7张卡片（中间1张 + 左右各3张） */
    .certificate-item[data-position="0"] {
        transform: translateX(-390px) scale(0.55) rotateY(20deg);
        opacity: 0.3;
        filter: blur(2.5px);
    }
    
    .certificate-item[data-position="1"] {
        transform: translateX(-260px) scale(0.65) rotateY(15deg);
        opacity: 0.4;
        filter: blur(2px);
    }
    
    .certificate-item[data-position="2"] {
        transform: translateX(-130px) scale(0.8) rotateY(8deg);
        opacity: 0.6;
        filter: blur(1px);
    }
    
    .certificate-item[data-position="3"] {
        transform: translateX(-65px) scale(0.9) rotateY(5deg);
        opacity: 0.75;
        filter: blur(0.5px);
    }
    
    .certificate-item[data-position="4"] {
        transform: translateX(0) scale(1) rotateY(0deg);
        opacity: 1;
        filter: blur(0);
    }
    
    .certificate-item[data-position="5"] {
        transform: translateX(65px) scale(0.9) rotateY(-5deg);
        opacity: 0.75;
        filter: blur(0.5px);
    }
    
    .certificate-item[data-position="6"] {
        transform: translateX(130px) scale(0.8) rotateY(-8deg);
        opacity: 0.6;
        filter: blur(1px);
    }
    
    .certificate-item[data-position="7"] {
        transform: translateX(260px) scale(0.65) rotateY(-15deg);
        opacity: 0.4;
        filter: blur(2px);
    }
    
    .certificate-item[data-position="8"] {
        transform: translateX(390px) scale(0.55) rotateY(-20deg);
        opacity: 0.3;
        filter: blur(2.5px);
    }
    
    .cert-arrow {
        width: 50px;
        height: 50px;
    }
    
    .cert-arrow svg {
        width: 24px;
        height: 24px;
    }
    
    .cert-arrow-left {
        left: 10px;
    }
    
    .cert-arrow-right {
        right: 10px;
    }
    
    .ip-stats {
        flex-direction: column;
        gap: 30px;
        padding: 30px;
    }
    
    .ip-stat-divider {
        width: 60px;
        height: 2px;
    }
    
    .ip-stat-number {
        font-size: 42px;
    }
}

.hero-section {
    text-align: center;
    padding: 80px 20px 60px;
    max-width: 980px;
    margin: 0 auto;
}

.app-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.app-icon svg {
    width: 70px;
    height: 70px;
    fill: white;
}

.brand-name {
    font-size: 18px;
    color: #86868b;
    margin-bottom: 20px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    color: #1d1d1f;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
    color: #1d1d1f;
    margin-bottom: 30px;
}

.hero-description {
    font-size: 21px;
    line-height: 1.5;
    color: #86868b;
    max-width: 800px;
    margin: 0 auto;
}

/* Devices Showcase */
.devices-showcase {
    position: relative;
    padding: 80px 20px 120px;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
    perspective: 1000px;
}

.device {
    position: relative;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.device:hover {
    transform: translateY(-20px) scale(1.05);
    z-index: 10;
}

.device-frame {
    background: #1d1d1f;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.device-screen {
    border-radius: 32px;
    overflow: hidden;
    background: white;
    position: relative;
}

.device-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 30px;
    background: #1d1d1f;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

/* Device sizes */
.device-1 {
    width: 280px;
    opacity: 0.7;
    transform: scale(0.85) translateY(40px);
}

.device-2 {
    width: 320px;
    opacity: 0.9;
    transform: scale(0.95) translateY(20px);
}

.device-3 {
    width: 360px;
    z-index: 5;
}

.device-4 {
    width: 320px;
    opacity: 0.9;
    transform: scale(0.95) translateY(20px);
}

.device-5 {
    width: 280px;
    opacity: 0.7;
    transform: scale(0.85) translateY(40px);
}

/* Screen content placeholder */
.screen-content {
    width: 100%;
    aspect-ratio: 9/19.5;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: 600;
}

.screen-content.screen-1 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.screen-content.screen-2 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.screen-content.screen-3 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.screen-content.screen-4 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.screen-content.screen-5 {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

/* Features Section */
.features-section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    fill: white;
}

.feature-title {
    font-size: 24px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 15px;
}

.feature-description {
    font-size: 17px;
    line-height: 1.5;
    color: #86868b;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 100px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.cta-button {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 768px) {
    .video-carousel {
        height: 600px;
        padding-top: 40px;
    }

    .hero-text-overlay {
        margin-bottom: 30px;
    }

    .hero-main-title {
        /* font-size: 28px; */
        font-size: 6.6vw;
        margin-bottom: 12px;
        letter-spacing: 2px;
    }

    .hero-subtitle-text {
        /* font-size: 14px; */
        font-size: 3.8vw;
        letter-spacing: 1px;
    }

    .video-container {
        max-width: 90%;
        height: 300px;
        margin-bottom: 40px;
    }

    .carousel-arrow {
        width: 45px;
        height: 45px;
    }

    .carousel-arrow svg {
        width: 22px;
        height: 22px;
    }

    .carousel-arrow-left {
        left: 10px;
    }

    .carousel-arrow-right {
        right: 10px;
    }

    .carousel-indicators {
        bottom: -40px;
    }

    .carousel-indicators {
        bottom: 20px;
        gap: 8px;
    }

    .indicator {
        width: 8px;
        height: 8px;
    }

    .indicator.active {
        width: 24px;
    }

    .services-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .service-icon {
        width: 50px;
        height: 50px;
    }

    .service-title {
        font-size: 14px;
    }

    .packaging-showcase {
        padding: 20px 20px;
    }

    .category-tabs {
        margin-bottom: 15px;
    }

    .category-tab {
        padding: 10px 24px;
        font-size: 14px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 16px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 22px;
    }

    .hero-description {
        font-size: 18px;
    }

    .devices-showcase {
        flex-wrap: wrap;
        padding: 40px 20px 60px;
    }

    .device {
        width: 45% !important;
        transform: none !important;
        opacity: 1 !important;
    }

    .device-3 {
        width: 100% !important;
        margin: 20px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   全屏弹窗样式
   ======================================== */
.fullscreen-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    background: #ffffff;
    display: none;
    flex-direction: column;
}

.fullscreen-modal.active {
    display: flex;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fullscreen-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    background: #f5f5f7;
    border-bottom: 1px solid #e0e0e0;
}

.fullscreen-modal-title {
    font-size: 24px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0;
}

.fullscreen-modal-close {
    width: 40px;
    height: 40px;
    border: none;
    background: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.fullscreen-modal-close:hover {
    background: #e8e8ed;
    transform: rotate(90deg);
}

.fullscreen-modal-close svg {
    width: 24px;
    height: 24px;
    color: #1d1d1f;
}

.fullscreen-modal-content {
    flex: 1;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.modal-info-content {
    text-align: center;
    padding: 60px 40px;
    max-width: 600px;
    width: 90%;
}

.platform-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.platform-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 3s ease-in-out infinite;
}

.platform-icon svg {
    width: 60px;
    height: 60px;
}

.douyin-icon {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    color: white;
    animation-delay: 0s;
}

.xiaohongshu-icon {
    background: linear-gradient(135deg, #ff2442 0%, #ff6b6b 100%);
    color: white;
    animation-delay: 0.5s;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) scale(1);
    }
    50% { 
        transform: translateY(-15px) scale(1.05);
    }
}

.modal-info-title {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.modal-info-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 50px;
    line-height: 1.6;
}

.platform-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.platform-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    border-radius: 16px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.platform-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.douyin-btn {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    color: white;
}

.douyin-btn:hover {
    background: linear-gradient(135deg, #1a1a1a 0%, #4d4d4d 100%);
}

.xiaohongshu-btn {
    background: linear-gradient(135deg, #ff2442 0%, #ff6b6b 100%);
    color: white;
}

.xiaohongshu-btn:hover {
    background: linear-gradient(135deg, #ff3d5c 0%, #ff8585 100%);
}

.platform-btn svg:first-child {
    width: 24px;
    height: 24px;
}

.platform-btn .arrow-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.platform-btn:hover .arrow-icon {
    transform: translateX(5px);
}

.platform-btn span {
    flex: 1;
    text-align: center;
}

@media (max-width: 768px) {
    .modal-info-content {
        padding: 40px 20px;
    }
    
    .platform-icons {
        gap: 30px;
    }
    
    .platform-icon {
        width: 80px;
        height: 80px;
    }
    
    .platform-icon svg {
        width: 48px;
        height: 48px;
    }
    
    .modal-info-title {
        font-size: 24px;
    }
    
    .modal-info-desc {
        font-size: 16px;
        margin-bottom: 40px;
    }
    
    .platform-btn {
        padding: 16px 24px;
        font-size: 16px;
    }
}

/* ========================================
   产品详情弹窗
   ======================================== */
.product-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.product-detail-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.product-detail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.product-detail-content {
    position: relative;
    width: 95%;
    max-width: 1600px;
    height: 90vh;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.product-detail-close {
    position: absolute;
    top: -60px;
    right: 0;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.product-detail-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.8);
    transform: rotate(90deg);
}

.product-detail-close svg {
    width: 28px;
    height: 28px;
    color: white;
}

.product-detail-carousel {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

.product-detail-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    transform: translateX(100%);
    padding: 20px;
}

.product-detail-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.product-detail-slide.prev {
    transform: translateX(-100%);
}

.product-detail-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.product-video {
    width: 95%;
    height: 95%;
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.product-detail-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) translateZ(0);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s ease, border-color 0.2s ease;
    /* 移除backdrop-filter，改用更高不透明度 */
    will-change: transform;
    backface-visibility: hidden;
}

.product-detail-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1) translateZ(0);
}

.product-detail-arrow svg {
    width: 28px;
    height: 28px;
}

.product-detail-arrow-left {
    left: 20px;
}

.product-detail-arrow-right {
    right: 20px;
}

.product-detail-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.product-detail-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    border-radius: 20px;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s ease, color 0.2s ease;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 600;
    /* 启用GPU加速 */
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.product-detail-tab svg {
    width: 24px;
    height: 24px;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-detail-tab:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transform: translateY(-2px) translateZ(0);
}

.product-detail-tab.active {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
}

.product-detail-tab.active svg {
    transform: scale(1.1) translateZ(0);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .product-detail-content {
        width: 98%;
        height: 92vh;
    }
    
    .product-detail-close {
        top: -50px;
        width: 45px;
        height: 45px;
    }
    
    .product-detail-close svg {
        width: 24px;
        height: 24px;
    }
    
    .product-detail-carousel {
        margin-bottom: 15px;
    }
    
    .product-detail-slide {
        padding: 10px;
    }
    
    .product-video {
        width: 98%;
        height: 98%;
    }
    
    .product-detail-arrow {
        width: 50px;
        height: 50px;
    }
    
    .product-detail-arrow svg {
        width: 24px;
        height: 24px;
    }
    
    .product-detail-arrow-left {
        left: 10px;
    }
    
    .product-detail-arrow-right {
        right: 10px;
    }
    
    .product-detail-tabs {
        gap: 10px;
        padding: 15px;
    }
    
    .product-detail-tab {
        padding: 12px 15px;
        gap: 6px;
        font-size: 12px;
    }
    
    .product-detail-tab svg {
        width: 20px;
        height: 20px;
    }
    
    .product-detail-tab span {
        display: none;
    }
}

/* Certificate Viewer Modal */
.certificate-viewer-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.certificate-viewer-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.certificate-viewer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.certificate-viewer-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.certificate-viewer-close {
    position: absolute;
    top: -30px;
    right: 0;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.certificate-viewer-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.8);
    transform: rotate(90deg);
}

.certificate-viewer-close svg {
    width: 28px;
    height: 28px;
    color: white;
}

.certificate-viewer-image-wrapper {
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: zoomIn 0.4s ease;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.certificate-viewer-image-wrapper img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
}

/* 查看器中的切换按钮 */
.cert-viewer-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) translateZ(0);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s ease, border-color 0.2s ease;
    /* 移除backdrop-filter，改用更高不透明度 */
    will-change: transform;
    backface-visibility: hidden;
}

.cert-viewer-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1) translateZ(0);
}

.cert-viewer-arrow svg {
    width: 28px;
    height: 28px;
}

.cert-viewer-arrow-left {
    left: 20px;
}

.cert-viewer-arrow-right {
    right: 20px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .certificate-viewer-content {
        width: 95%;
        height: 85vh;
    }
    
    .certificate-viewer-close {
        top: -50px;
        width: 45px;
        height: 45px;
    }
    
    .certificate-viewer-close svg {
        width: 24px;
        height: 24px;
    }
    
    .certificate-viewer-image-wrapper img {
        max-height: 85vh;
        border-radius: 8px;
    }
    
    .cert-viewer-arrow {
        width: 50px;
        height: 50px;
    }
    
    .cert-viewer-arrow svg {
        width: 24px;
        height: 24px;
    }
    
    .cert-viewer-arrow-left {
        left: 10px;
    }
    
    .cert-viewer-arrow-right {
        right: 10px;
    }
}

/* ========================================
   合作品牌区域
   ======================================== */
.partner-brands-section {
    padding: 100px 20px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.partner-brands-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    /* background: linear-gradient(135deg, rgba(255, 107, 53, 0.03) 0%, rgba(247, 147, 30, 0.03) 100%); */
    z-index: 0;
}

.partner-brands-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.partner-brands-header {
    text-align: center;
    margin-bottom: 60px;
}

.partner-brands-title {
    font-size: 48px;
    font-weight: 800;
    color: #1d1d1f;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.partner-brands-subtitle {
    font-size: 20px;
    color: #6c757d;
    font-weight: 500;
    letter-spacing: 1px;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    padding: 20px;
}

.brand-item {
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    /* 启用GPU加速 */
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    /* aspect-ratio: 1; */
}

.brand-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(247, 147, 30, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.brand-item:hover {
    transform: translateY(-8px) scale(1.03) translateZ(0);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.15);
}

.brand-item:hover::before {
    opacity: 1;
}

.brand-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    /* 启用GPU加速 */
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.brand-item:hover img {
    transform: scale(1.05) translateZ(0);
    filter: grayscale(0%);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .brands-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .partner-brands-section {
        padding: 60px 20px;
    }
    
    .partner-brands-title {
        font-size: 32px;
    }
    
    .partner-brands-subtitle {
        font-size: 16px;
    }
    
    .brands-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 20px;
        padding: 10px;
    }
    
    .brand-item {
        padding: 20px;
    }
    
    .brand-item:hover {
        transform: translateY(-5px) scale(1.02);
    }
}
