* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'AlimamaFangYuanTi';
    line-height: 1.6;
    color: #333;
    /*background-color: #fafafa;*/
}


/* 统一的容器样式 */
.container {
    max-width: 1600px;
    margin: 0 auto;
    /*padding: 0 40px;*/
    width: 100%;
    box-sizing: border-box;
}

/* Header */
/*.header {*/
/*    position: fixed;*/
/*    top: 0;*/
/*    left: 0;*/
/*    right: 0;*/
/*    background: rgba(255, 255, 255, 0.95);*/
/*    backdrop-filter: blur(10px);*/
/*    z-index: 1000;*/
/*    padding: 1rem 2rem;*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    align-items: center;*/
/*    border-bottom: 1px solid #f0f0f0;*/
/*}*/

/*.logo {*/
/*    font-size: 1.5rem;*/
/*    font-weight: bold;*/
/*    color: #000;*/
/*}*/

/*        .nav {*/
/*            display: flex;*/
            /*gap: 2rem;*/
/*        }*/

/*        .nav a {*/
/*            text-decoration: none;*/
/*            color: #333;*/
/*            font-weight: 300;*/
/*            transition: color 0.3s;*/
/*        }*/

        /*.nav a:hover {*/
        /*    color: #666;*/
        /*}*/
        
/*        .nav a:active {*/
/*    color: #ff6b35; */
/*}*/

.content-image {
    width: 100%;
    height: 150px; /* 减小高度，原来是200px */
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-icons {
    display: flex;
    gap: 1rem;
}

.icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

/*.hero {*/
/*    position: relative;*/
/*    min-height: 100vh;*/
/*    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    justify-content: center;*/
/*    align-items: center;*/
/*    overflow: hidden;*/
/*}*/

.hero-content {
    text-align: center;
    z-index: 2;
    margin-bottom: 60px;
    position: relative;
}

.hero-text {
    font-size: 2.5rem;
    font-weight: 300;
    color: #333;
    margin: 20px 0;
    letter-spacing: 2px;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.8s ease;
}

.hero-text.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.hero-text.right {
    font-size: 1.8rem;
    line-height: 1.4;
}

/* Hero轮播指示器样式已移至index.php中，避免重复定义 */

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-text {
        font-size: 2rem;
    }
    
    .hero-text.right {
        font-size: 1.4rem;
    }
    
    .hero-indicator {
        gap: 0.3rem;
        height: 10px;
    }
    
    .indicator-dot {
        width: 30px;
        height: 3px;
    }
    
    .indicator-dot:hover {
        height: 6px;
    }
}

/* 新的文字容器样式 - 添加到现有CSS后面 */
.hero-text-container {
    position: absolute;
    top: 10%;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 5%;
    box-sizing: border-box;
}

.hero-text-item {
    flex: 1;
    display: flex;
    justify-content: center; /* 改为居中对齐 */
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.hero-text-item.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-text-item .text-box {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    padding: 15px 0;
    font-size: 1rem;
    font-weight: 300;
    text-align: center; /* 改为居中对齐 */
    line-height: 1.2;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    letter-spacing: 1px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-text-container {
        top: 15%;
        padding: 0 3%;
    }
    
    .hero-text-item {
        justify-content: center; /* 移动端也居中对齐 */
    }
    
    .hero-text-item .text-box {
        padding: 10px 0; /* 左右内边距改为0 */
        font-size: 1rem;
        font-weight: 300;
        max-width: 150px;
        white-space: nowrap;
        text-align: center; /* 移动端也居中对齐 */
    }
}

@media (max-width: 480px) {
    .hero-text-container {
        flex-direction: column;
        gap: 15px;
        top: 10%;
    }
    
    .hero-text-item {
        flex: none;
        justify-content: center; /* 移动端也居中对齐 */
    }
    
    .hero-text-item .text-box {
        max-width: 100%;
        font-size: 0.9rem;
        font-weight: 300;
        white-space: nowrap;
        text-align: center; /* 移动端也居中对齐 */
    }
}

.categories {
    padding: 4rem 0;
    background: #fff;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    text-align: left;
    display: block;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 120px;
    height: 4px;
    background: #000;
    z-index: 1;
}

/* 顶部大卡片 - 左右对齐，填满整个宽度 */
.categories-top {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    padding: 0 150px;
}

/* 底部小卡片 - 左右对齐，填满整个宽度 */
.categories-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0 150px;
}

/* 卡片基础样式 - 修复跳动问题 */
.category-card {
    background: #fafafa;
    /*border-radius: 8px;*/
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid transparent; /* 预留2px边框空间 */
    position: relative;
    overflow: hidden;
    box-sizing: border-box; /* 确保边框包含在尺寸内 */
    text-decoration: none; /* 去除下划线 */
    color: inherit; /* 继承父元素颜色，不显示链接的默认蓝色 */
}

/* 大卡片基础样式 */
.category-card.large {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* AirPods Cases - 自适应宽度 */
.category-card.large:nth-child(1) {
    flex: 1;
    min-width: 260px;
    max-width: 300px;
}

/* Pad Cases - 自适应宽度 */
.category-card.large:nth-child(2) {
    flex: 1;
    min-width: 260px;
    max-width: 300px;
}

/* Phone Case - 自适应宽度 */
.category-card.large:nth-child(3) {
    flex: 2;
    min-width: 400px;
    max-width: 700px;
}

/* 小卡片样式 - 自适应宽度 */
.category-card.small {
    flex: 1;
    min-width: 120px;
    max-width: 160px;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 1rem;
}

/* 卡片标签 */
.card-label {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 1rem;
    font-weight: 500;
    align-self: flex-start;
    margin-left: 0;
}

/* 大卡片名称 - 左下角 */
.category-card.large .card-name {
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    position: absolute;
    bottom: 2rem;  /* 距离底部2rem */
    left: 2rem;    /* 距离左边2rem */
    margin: 0;
    text-align: left;
}

/* 小卡片名称 - 底部居中 */
.category-card.small .card-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #000;
    margin-top: auto; /* 推到底部 */
    margin-bottom: 0;
    text-align: center; /* 居中 */
}

/* 悬停效果 - 修复跳动问题 */
/*.category-card:hover {*/
/*    transform: translateY(-8px);*/
/*    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);*/
/*    background: #fff;*/
    /* border: 2px solid #ff6b35; 使用预留的2px边框空间 */
/*}*/

/*.category-card.large:hover {*/
/*    background: #fff;*/
/*    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);*/
    /* border: 2px solid #ff6b35; 使用预留的2px边框空间 */
/*}*/

/* 图标样式 */
/* 大卡片的图标尺寸 */
.card-icon {
    width: 200px;  /* 调整宽度 */
    height: 200px; /* 调整高度 */
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 保持图片比例 */
}

.categories-top .category-card:nth-child(3) .card-icon img {
    width: 180%;
    height: 180%;
    /* 或者 */
    transform: scale(2.5);
}

/* 小卡片的图标尺寸 */
.category-card.small .card-icon {
    width: 100px;  /* 调整小图标宽度 */
    height: 100px; /* 调整小图标高度 */
}

/* 具体图标保持不变... */
.airpods-icon {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 60"><rect x="10" y="20" width="80" height="20" rx="10" fill="%23000"/><circle cx="25" cy="30" r="8" fill="%23fff"/><circle cx="75" cy="30" r="8" fill="%23fff"/></svg>');
}

.pad-icon {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 80"><rect x="20" y="10" width="60" height="50" rx="5" fill="%23000"/><rect x="25" y="15" width="50" height="40" fill="%23f8f9fa"/><rect x="30" y="60" width="40" height="15" rx="2" fill="%23333"/></svg>');
}

.phone-icon {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 120"><rect x="30" y="10" width="40" height="100" rx="8" fill="%23e9ecef"/><rect x="32" y="12" width="36" height="96" rx="6" fill="%23f8f9fa"/><circle cx="50" cy="20" r="3" fill="%23000"/><rect x="40" y="25" width="20" height="15" rx="2" fill="%23000"/><rect x="35" y="45" width="30" height="2" fill="%23000"/><rect x="35" y="50" width="30" height="2" fill="%23000"/><rect x="35" y="55" width="30" height="2" fill="%23000"/></svg>');
}

.screen-icon {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 60"><rect x="20" y="10" width="60" height="40" rx="3" fill="%23e9ecef"/><rect x="25" y="15" width="50" height="30" fill="%23000"/><circle cx="70" cy="25" r="8" fill="%23333"/></svg>');
}

.cardholder-icon {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 80"><rect x="30" y="20" width="40" height="50" rx="3" fill="%23e9ecef"/><rect x="35" y="25" width="30" height="40" fill="%23f8f9fa"/><rect x="40" y="30" width="20" height="30" fill="%23000"/></svg>');
}

.powerbank-icon {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 60"><rect x="20" y="15" width="60" height="30" rx="5" fill="%23000"/><rect x="25" y="20" width="50" height="20" fill="%23f8f9fa"/><circle cx="40" cy="30" r="3" fill="%23000"/><circle cx="60" cy="30" r="3" fill="%23000"/></svg>');
}

.watchband-icon {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 60"><rect x="30" y="20" width="40" height="20" rx="10" fill="%23000"/><rect x="25" y="25" width="10" height="10" fill="%23333"/><rect x="65" y="25" width="10" height="10" fill="%23333"/></svg>');
}

.lanyard-icon {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 80"><circle cx="50" cy="20" r="8" fill="%23333"/><path d="M50 28 Q30 40 20 60 Q30 70 50 60 Q70 70 80 60 Q70 40 50 28" stroke="%23000" stroke-width="3" fill="none"/></svg>');
}

.laptop-icon {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 60"><rect x="15" y="10" width="70" height="40" rx="3" fill="%23e9ecef"/><rect x="20" y="15" width="60" height="30" fill="%23000"/><text x="50" y="35" text-anchor="middle" fill="%23fff" font-size="8">C30</text></svg>');
}

.holder-icon {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 60"><circle cx="50" cy="30" r="15" fill="none" stroke="%23000" stroke-width="3"/><rect x="45" y="25" width="10" height="10" fill="%23e9ecef"/></svg>');
}




/* 响应式设计 - 移动端特色布局 */
@media (max-width: 768px) {
    .categories {
        padding: 2rem 1rem;
    }
    
    /* 移动端标题居中，隐藏装饰线条 */
    .categories .section-title {
        text-align: center;
    }
    
    .categories .section-title::before {
        display: none;
    }

    /* 移动端顶部大卡片 - 只显示Phone Case作为特色卡片 */
    .categories-top {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin-bottom: 2rem;
        padding: 0;
    }

    /* 移动端所有大卡片都显示为特色卡片 */
    .categories-top .category-card.large {
        width: 100% !important;
        min-width: auto !important;
        max-width: none !important;
        flex: none !important;
        min-height: 200px;
        padding: 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: #f8f9fa;
        margin-bottom: 1rem;
    }

    /* 所有大卡片图标样式 */
    .categories-top .category-card.large .card-icon {
        width: 120px;
        height: 120px;
        margin-bottom: 1rem;
        order: 1;
    }

    /* 所有大卡片标签样式 */
    .categories-top .category-card.large .card-label {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
        order: 2;
        align-self: center;
    }

    /* 所有大卡片名称样式 */
    .categories-top .category-card.large .card-name {
        font-size: 1.2rem;
        font-weight: 600;
        position: static;
        margin: 0;
        text-align: center;
        order: 3;
    }

    /* 移动端底部小卡片 - 3×3网格布局 */
    .categories-bottom {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        padding: 0;
    }

    /* 调整小卡片在移动端的样式 */
    .category-card.small {
        min-height: 120px;
        padding: 1rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: #fafafa;
    }

    /* 调整小卡片图标尺寸 */
    .category-card.small .card-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0.5rem;
    }

    /* 调整小卡片名称 */
    .category-card.small .card-name {
        font-size: 0.7rem;
        text-align: center;
        margin-top: 0.5rem;
        margin-bottom: 0;
        font-weight: 500;
    }

    /* 调整卡片标签 */
    .card-label {
        font-size: 0.7rem;
        margin-bottom: 0.5rem;
    }
}

.recommended {
    padding: 4rem 0; 
    max-width: 1600px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 120px; 
    height: 4px;
    background: #000;
    z-index: 1;
}

/* 在 section-header 上添加贯穿整个宽度的细线 */
.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 1500px;
    height: 1px;
    background: #e9ecef;
    z-index: 0;
}

.view-all {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.view-all:hover {
    color: #ff6b35;
}

/* 推荐产品区域 - 使用更具体的子类选择器 */
.recommended .products-container {
    position: relative;
    align-items: center;
    gap: 0.5rem;
}

.recommended .products-carousel {
    display: flex; /* 改为flex布局 */
    gap: 0.2rem;
    flex: 1;
    overflow-x: auto; /* 水平滚动 */
    overflow-y: hidden;
    /*padding: 0 60px; */
    scroll-behavior: smooth;
    /* 隐藏滚动条 */
    scrollbar-width: none;
    -ms-overflow-style: none;
    
}

.recommended .products-carousel::-webkit-scrollbar {
    display: none;
}

.recommended .product-card-link {
    flex: 0 0 auto; /* 不收缩，不扩展 */
    width: 400px; /* 固定宽度 */
    min-width: 400px; /* 最小宽度 */
}

.recommended .product-card {
    background: #fafafa;
    padding: 2rem; /* 增加内边距 */
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

/*.recommended .product-card:hover {*/
/*    transform: translateY(-8px);*/
/*}*/

.recommended .product-image {
    width: 100%;
    height: 240px; /* 增加图片高度 */
    margin-bottom: 1.5rem; /* 增加间距 */
    border-radius: 12px; /* 增加圆角 */
    overflow: hidden;
    background: #fafafa;
}

.recommended .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-card-link,
.product-card-link:hover,
.product-card-link:visited,
.product-card-link:active {
    text-decoration: none;
    color: inherit;
}

/* 产品名称和色卡同一行 */
.recommended .product-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem; /* 增加间距 */
}

/* 描述和价格同一行 */
.recommended .product-details-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.75rem; /* 增加间距 */
}

.recommended .product-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    text-transform: uppercase; 
    margin-right: 15px;
}

.recommended .product-description {
    font-size: 0.95rem; 
    color: #666;
    margin: 0;
    line-height: 1.5; 
    flex: 1;
    margin-right: 15px; 
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left; 
}

.recommended .product-price {
    display: none;
    font-size: 1.3rem; 
    font-weight: 700;
    color: #000;
    margin: 0;
    white-space: nowrap;
}

.recommended .color-swatches {
    display: flex;
    margin: 0;
}

.recommended .color-swatch {
    width: 14px; 
    height: 14px; 
    border: 1px solid #ddd;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.recommended .color-swatch:hover {
    transform: scale(1.1);
}


.recommended .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #000;
    color: #fff;
    border: none;
    width: 30px;
    height: 60px;
    border-radius: 1px;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.recommended .carousel-btn:hover {
    background: #ff6b35;
    transform: translateY(-50%) scale(1.05);
}

.recommended .prev-btn {
    left: 20px;
}

.recommended .next-btn {
    right: 20px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .recommended .products-carousel {
        padding: 0 50px;
    }
    
    .recommended .product-card-link {
        width: 300px;
        min-width: 300px;
    }
    
    .recommended .product-image {
        height: 220px;
    }
    
    .recommended .product-card {
        padding: 1.8rem;
    }
}

@media (max-width: 1024px) {
    .recommended .products-carousel {
        padding: 0 40px;
    }
    
    .recommended .product-card-link {
        width: 280px;
        min-width: 280px;
    }
    
    .recommended .product-image {
        height: 200px;
    }
    
    .recommended .product-card {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .recommended {
        padding: 2rem 0;
    }
    
    .recommended .section-header {
        margin-bottom: 1rem;
        padding: 0 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
    
    .recommended .section-title {
        font-size: 1.5rem;
        margin-bottom: 0; /* 移除底部margin，让gap控制间距 */
    }
    
    .recommended .section-title::before,
    .recommended .section-title::after {
        display: none;
    }
    
    .recommended .products-container {
        position: relative;
        padding: 0 1rem;
    }
    
    .recommended .products-carousel {
        gap: 0;
        padding: 0;
        scroll-snap-type: x mandatory;
    }
    
    .recommended .product-card-link {
        width: 280px;
        min-width: 280px;
        scroll-snap-align: start;
    }
    
    .recommended .product-card {
        padding: 1.5rem;
        background: #fafafa;
        transition: all 0.3s ease;
    }
    
    .recommended .product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    }
    
    .recommended .product-image {
        height: 200px;
        border-radius: 12px;
        background: #f8f9fa;
    }
    
    .recommended .product-header-row {
        margin-bottom: 1rem;
    }
    
    .recommended .product-name {
        font-size: 1.1rem;
        font-weight: 600;
        margin-right: 10px;
    }
    
    .recommended .product-description {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-right: 10px;
    }
    
    .recommended .product-price {
        font-size: 1.1rem;
        font-weight: 700;
        color: #000;
    }
    
    .recommended .color-swatches {
        gap: 0.5rem;
    }
    
    .recommended .color-swatch {
        width: 16px;
        height: 18px;
        border: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .recommended .carousel-btn {
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        background: #000 !important;
        color: #fff !important;
        border: none !important;
        width: 30px !important;
        height: 60px !important;
        border-radius: 1px !important;
        font-size: 1.2rem !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: all 0.3s ease !important;
        z-index: 10 !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
    }
    
    .recommended .prev-btn {
        left: 10px;
    }
    
    .recommended .next-btn {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .recommended {
        padding: 1.5rem 0;
    }
    
    .recommended .section-header {
        margin-bottom: 0.8rem;
        padding: 0 0.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.8rem;
    }
    
    .recommended .section-title {
        font-size: 1.5rem;
        margin-bottom: 0; /* 移除底部margin，让gap控制间距 */
    }
    
    .recommended .section-title::before,
    .recommended .section-title::after {
        display: none;
    }
    
    /* Experiment section 超小屏幕样式 */
    .experiment-header,
    .experiment-section .experiment-header {
        margin-bottom: 0.8rem;
        padding: 0 0.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.8rem;
    }
    
    .experiment-header .section-title,
    .experiment-section .experiment-header .section-title {
        font-size: 1.5rem;
        margin-bottom: 0; /* 移除底部margin，让gap控制间距 */
    }
    
    .experiment-header .section-title::before,
    .experiment-header .section-title::after,
    .experiment-section .experiment-header .section-title::before,
    .experiment-section .experiment-header .section-title::after {
        display: none;
    }
    
    .recommended .products-container {
        padding: 0 0.5rem;
    }
    
    .recommended .products-carousel {
        gap: 0;
    }
    
    .recommended .product-card-link {
        width: 250px;
        min-width: 250px;
    }
    
    .recommended .product-card {
        padding: 1.2rem;
        background: #fafafa;
        border-radius: 0;
    }
    
    .recommended .product-image {
        height: 180px;
    }
    
    .recommended .product-name {
        font-size: 1rem;
    }
    
    .recommended .product-description {
        font-size: 0.85rem;
    }
    
    .recommended .product-price {
        font-size: 1rem;
    }
    
    .recommended .color-swatch {
        width: 14px;
        height: 14px;
    }
    
    .recommended .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .recommended .prev-btn {
        left: 5px;
    }
    
    .recommended .next-btn {
        right: 5px;
    }
}

.experiment {
    /*padding: 4rem 0rem ;*/
    background: #fff;
    max-width: 1600px;
    margin: 0 auto;
}

.experiment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 120px;
    height: 4px;
    background: #000;
    z-index: 1;
}

.view-all {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.view-all:hover {
    color: #ff6b35;
}

/* 第一个section - 深色背景，文字在左，视频在右 */
.experiment-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 500px;
}

/* 左侧文字面板 - 深色背景 */
/* 第一个section - 深色背景，文字在左 */
.experiment .experiment-text {
    background: #2c2c2c;
    padding: 3rem;
    display: flex;
    align-items: center;
    position: relative;
}

.text-content {
    max-width: 520px;
}

.experiment-label {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.experiment-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.experiment-description {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.read-more-btn {
    background: #fff;
    color: #000;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    /*border-radius: 4px;*/
}

.read-more-btn:hover {
    background: #ff6b35;
    color: #fff;
    transform: translateY(-2px);
}

/* 右侧产品展示面板 - 深色背景 */
.experiment-media {
    background: #1a1a1a;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-showcase {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-stack {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.phone-case {
    width: 200px;
    height: 300px;
    border-radius: 20px;
    position: relative;
    transform: rotate(-15deg);
    transition: transform 0.3s ease;
}

.phone-case:hover {
    transform: rotate(-15deg) scale(1.05);
}

.case-1 {
    background: #8B4513;
    z-index: 3;
    margin-bottom: -50px;
}

.case-2 {
    background: #808080;
    z-index: 2;
    margin-bottom: -50px;
}

.case-3 {
    background: #2c2c2c;
    z-index: 1;
}

.case-back {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.magnetic-ring {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fff;
    margin-bottom: 20px;
    position: relative;
}

.magnetic-ring::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #000;
}

.brand-text {
    font-size: 0.7rem;
    color: #fff;
    text-align: center;
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

/* 视频播放器覆盖层 */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-showcase:hover .video-overlay {
    opacity: 1;
}

.video-player {
    position: relative;
    width: 80%;
    height: 60%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.video-controls {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

.play-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.play-button {
    width: 30px;
    height: 30px;
    background: #fff;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
}

.time-display {
    font-size: 0.8rem;
    color: #fff;
}

.volume-control {
    display: flex;
    align-items: center;
}

.volume-icon {
    font-size: 1.2rem;
    cursor: pointer;
}

.video-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 10px;
}

.fullscreen-btn,
.close-btn {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
}

.fullscreen-btn:hover,
.close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* 第二个section - 浅色背景，图片在左，文字在右 */
.experiment-section {
    /*padding: 0rem 2rem 2rem 2rem;*/
    background: #fff;
    max-width: 1600px;
    margin: 0 auto;
}

.experiment-section .experiment-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* gap: 4rem; */
    align-items: center;
    min-height: 500px;
    margin-bottom: 20px;
}

/* 左侧产品图片 */
.experiment-section .experiment-media {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8f9fa;
}

.product-image-container {
    position: relative;
    width: 100%;
    height: 520px;
    background: linear-gradient(135deg, #e3f2fd 0%, #f8f9fa 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: transform 0.3s ease;
}

/* .product-image-container:hover {
    transform: scale(1.05);
} */

.phone-case-showcase {
    position: relative;
    width: 200px;
    height: 350px;
    transform: rotate(-15deg);
    transition: transform 0.3s ease;
}

.phone-case {
    width: 100%;
    height: 100%;
    background: #8B4513;
    border-radius: 25px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 2px solid #654321;
}

.case-back {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.magnetic-charger {
    position: relative;
    width: 80px;
    height: 80px;
    background: #c0c0c0;
    border-radius: 50%;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.charger-glow {
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.magnetic-charger::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: #000;
    border-radius: 50%;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.3);
}

.brand-text {
    text-align: center;
    color: #fff;
}

.brand-main {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.brand-sub {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 1px;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* 右侧文字内容 - 浅色背景 */
/* 第二个section - 浅色背景，文字在右 */
.experiment-section .experiment-text {
    background: #fff;
    padding: 3rem; /* 保持合理的间距 */
    display: flex;
    align-items: center;
    position: relative;
}

.experiment-section .text-content {
    max-width: 500px;
}

.experiment-section .experiment-label {
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.experiment-section .experiment-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.experiment-section .experiment-description {
    margin-bottom: 2rem;
}

.experiment-section .experiment-description p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.experiment-section .experiment-description p:last-child {
    margin-bottom: 0;
}

.experiment-section .read-more-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    /*border-radius: 4px;*/
}

.experiment-section .read-more-btn:hover {
    background: #ff6b35;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px #ff6b35;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .experiment-header,
    .experiment-section .experiment-header {
        margin-bottom: 1rem;
        padding: 0 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
    
    .experiment-header .section-title,
    .experiment-section .experiment-header .section-title {
        font-size: 1.5rem;
        margin-bottom: 0; /* 移除底部margin，让gap控制间距 */
    }
    
    .experiment-header .section-title::before,
    .experiment-header .section-title::after,
    .experiment-section .experiment-header .section-title::before,
    .experiment-section .experiment-header .section-title::after {
        display: none;
    }
    
    .experiment-content,
    .experiment-section .experiment-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .experiment-text,
    .experiment-section .experiment-text {
        padding: 2rem;
    }
    
    .experiment-title,
    .experiment-section .experiment-title {
        font-size: 2rem;
    }
    
    .phone-case {
        width: 150px;
        height: 225px;
    }
    
    .phone-case-showcase {
        width: 150px;
        height: 260px;
    }
    
    .magnetic-charger {
        width: 60px;
        height: 60px;
    }
    
    .magnetic-charger::after {
        width: 45px;
        height: 45px;
    }
    
    .brand-main {
        font-size: 1.4rem;
    }
    
    .brand-sub {
        font-size: 0.6rem;
    }
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-tagline {
    text-align: left;
    font-size: 1.5rem;
    margin-bottom: 3rem;
    font-weight: 300;
    max-width: 1200px;
    margin: 0 auto 3rem auto;
    padding: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    font-size: 14px;
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: #ff6b35;
}

.email-input {
    display: flex;
    flex-direction: column; /* 改为垂直布局 */
    gap: 1rem;
    margin-bottom: 1rem;
}

.email-input input {
    padding: 0.75rem;
    border: 1px solid #444;
    background: #333;
    color: white;
    width: 100%; /* 确保输入框占满宽度 */
}

.email-input button {
    background: white;
    color: black;
    border: none;
    padding: 0.75rem 1.5rem;
   
    cursor: pointer;
    font-weight: 500;
    width: 100%; /* 按钮宽度与输入框一致 */
}



.contact-info {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 1rem; /* 添加底部间距 */
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.7;
    text-align: left; /* 确保左对齐 */
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: white;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #333;
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.modal-content {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 1.5rem;
}

.modal-button {
    background: #000;
    color: white;
    border: none;
    padding: 1rem 2rem;
    cursor: pointer;
    font-weight: 500;
    font-size: 1rem;
    transition: background 0.3s;
    width: 100%;
}

.modal-button:hover {
    background: #333;
}


/*.modal-image {*/
/*    width: 100%;*/
/*    height: 200px;*/
/*    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);*/
/*    border-radius: 8px;*/
/*    margin-bottom: 1rem;*/
/*    position: relative;*/
/*    overflow: hidden;*/
/*}*/

/*.modal-image::before {*/
/*    content: '📱';*/
/*    position: absolute;*/
/*    top: 50%;*/
/*    left: 50%;*/
/*    transform: translate(-50%, -50%);*/
/*    font-size: 4rem;*/
/*}*/

.certification-docs {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cert-doc {
    width: 80px;
    height: 100px;
    background: #ff6b35;
    /*border-radius: 8px;*/
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
    transform: rotate(15deg);
    box-shadow: 0 4px 12px #ff6b35;
}

.cert-doc:nth-child(2) {
    transform: rotate(5deg);
}

.cert-doc:nth-child(3) {
    transform: rotate(-5deg);
}

.cert-line {
    position: absolute;
    right: -50px;
    top: 50%;
    width: 50px;
    height: 2px;
    background: #ff6b35;
    transform: translateY(-50%);
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }

    .nav {
        display: none;
    }

    .hero-text {
        font-size: 1rem;
    }

    .experiment-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .certification-docs {
        display: none;
    }

    .cert-line {
        display: none;
    }
}


.phone-case-image {
    width: 800px;
    height: 520px;
    object-fit: cover;
}
