/* Media Kit页面样式 */
.media-kit-page {
    width: 100%;
    overflow-x: hidden;
}

/* Banner区域 */
.media-kit-banner {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-kit-banner-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-kit-banner-img img{
    width: 100%;
}


.media-kit-banner-content {
    position: absolute;
    z-index: 2;
    text-align: center;
}

.media-kit-title {
    font-weight: 700;
    font-size: 4.58vw;
    line-height: 150%;
    letter-spacing: 0;
    text-align: center;
    vertical-align: middle;
    color: #FFFFFF;
    margin-bottom: 2.81vw;
    text-shadow: 0 0.21vw 1.04vw rgba(0, 0, 0, 0.3);
}

/* 搜索框 */
.media-kit-search {
    position: relative;
    margin: 0 auto;
}

.media-kit-search input {
    border-radius: 0.68vw;
    width: 35.42vw;
    height: 3.33vw;
    line-height: 1;
    border: none;
    background: #fff;
    backdrop-filter: blur(0.52vw);
    box-shadow: 0 0.42vw 1.67vw rgba(0, 0, 0, 0.1);
    padding-left: 1.30vw;
    color: #1a1a1a;
    font-weight: 400;
    font-size: 1.25vw;
    letter-spacing: 0;
}

.media-kit-search input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0.63vw 2.08vw rgba(0, 0, 0, 0.15);
    transform: translateY(-0.10vw);
}

.media-kit-search input::placeholder {
    color: #787878;
}

.search-btn {
    position: absolute;
    right: 1.30vw;
    top: 50%;
    transform: translateY(-50%);
    width: 1.72vw;
    height: 1.72vw;
    border: none;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: translateY(-50%) scale(1.1);
}

/* 搜索建议下拉 */
.search-suggestions {
    position: absolute;
    width: 100%;
    height: 15.73vw;
    top: 0;
    left: 0;
    border-radius: 0.68vw;
    z-index: -1;
    padding-top: 3.96vw;
    background: #F5F5F5;
    box-shadow: 0 0.42vw 1.67vw rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-1.04vw);
}

.search-suggestions.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.suggestion-item {
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1.25vw;
    line-height: 150%;
    letter-spacing: 0;
    text-align: left;
    color: #000;    
    padding: 0.31vw 1.30vw;
    cursor: pointer;
}


.suggestion-item:hover {
    background: #FFF5F0;
    color: #FD5000;
}

/* Media Kit内容区域 */
.media-kit-content {
    background: #fff;
    padding-top: 5.73vw;
    padding-bottom: 7.81vw;
}
/* Media Kit网格 */
.media-kit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.68vw;
    align-items: start;
}

.media-kit-item {
    transition: all 0.3s ease;
}

.media-kit-item.featured {
    grid-row: span 2;
    transform: translateY(-1.04vw);
}

.media-kit-card {
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    width: 15.10vw;
    height: 18.54vw;
    border-radius: 0.94vw;
    background: #F5F5F5;
    padding: 1.09vw 2.34vw;
    text-align: center;
    margin-bottom: 2.19vw;
}

/* .media-kit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF6B35, #FD5000);
    opacity: 0;
    transition: opacity 0.3s ease;
} */

.media-kit-card:hover {
    transform: translateY(-0.42vw);
    /* box-shadow: 0 0.83vw 2.50vw rgba(0, 0, 0, 0.12); */
    --border-size: 0.10vw;
    border-radius: 0.94vw;
    background-image: linear-gradient(#F5F5F5, #F5F5F5), linear-gradient(180deg, #FD5000 31.73%, rgba(253, 80, 0, 0.3) 100%);
    background-origin: padding-box, border-box;
    background-clip: padding-box, border-box;
    border: 0.10vw solid transparent;
    border: var(--border-size) solid transparent;
}


/* .media-kit-card:hover::before {
    opacity: 1;
} */

.featured .media-kit-card {
    border: 0.16vw solid #FD5000;
    box-shadow: 0 0.63vw 2.08vw rgba(253, 80, 0, 0.15);
}

/* .featured .media-kit-card::before {
    opacity: 1;
    height: 6px;
} */

/* 产品图片 */
.product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 10.94vw;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.media-kit-card:hover .product-image img {
    transform: scale(1.05);
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #F0F0F0, #E0E0E0);
    border-radius: 0.63vw;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999999;
    font-size: 0.73vw;
    font-weight: 500;
}

/* 产品名称 */
.product-name {
    color: #000;
    margin: 0;
    font-weight: 700;
    font-size: 1.46vw;
    line-height: 150%;
    letter-spacing: 0;
    margin-bottom: auto;
    text-transform: uppercase;
}

.featured .product-name {
    font-size: 1.46vw;
}

/* 下载按钮 */
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.21vw;
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 2.19vw;
    border-radius: 1.15vw;
    background: #1A1A1A;
    margin-top: auto;
    justify-content: center;
    font-family: Roboto;
    font-weight: 500;
    font-size: 1.15vw;
}

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

.download-btn:hover::before {
    left: 100%;
}

.download-btn:hover {
    background: #FD5000;
    transform: translateY(-0.10vw);
    box-shadow: 0 0.42vw 1.25vw rgba(253, 80, 0, 0.3);
}

.featured .download-btn {
    background: #FD5000;
    font-size: 0.94vw;
    padding: 0.83vw 1.67vw;
}

.featured .download-btn:hover {
    background: #E04500;
}

.download-btn svg {
    transition: transform 0.3s ease;
}

.download-btn:hover svg {
    transform: translateY(0.10vw);
}

/* 无搜索结果 */
.no-results {
    text-align: center;
    padding: 4.17vw 1.04vw;
    color: #666666;
}

.no-results p {
    font-size: 0.94vw;
    margin: 0;
    margin-bottom: 1.56vw;
}

/* 无搜索结果弹窗 */
.no-results-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.no-results-modal.show {
    opacity: 1;
    visibility: visible;
}

.no-results-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.no-results-modal-content {
    position: relative;
    background: #FFFFFF;
    border-radius: 1.04vw;
    padding: 2.60vw 3.13vw;
    max-width: 31.25vw;
    width: 90%;
    box-shadow: 0 0.83vw 3.13vw rgba(0, 0, 0, 0.2);
    transform: scale(0.9) translateY(1.04vw);
    transition: transform 0.3s ease;
    z-index: 1;
}

.no-results-modal.show .no-results-modal-content {
    transform: scale(1) translateY(0);
}

.no-results-modal-close {
    position: absolute;
    top: 1.04vw;
    right: 1.04vw;
    width: 2.08vw;
    height: 2.08vw;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666666;
    transition: color 0.3s ease, transform 0.3s ease;
    z-index: 2;
}

.no-results-modal-close:hover {
    color: #FD5000;
    transform: rotate(90deg);
}

.no-results-modal-close svg {
    width: 100%;
    height: 100%;
}

.no-results-modal-body {
    text-align: center;
    padding-top: 0.52vw;
}

.no-results-modal-body p {
    font-size: 1.25vw;
    font-weight: 500;
    color: #1A1A1A;
    margin: 0;
    line-height: 1.6;
}

/* 返回按钮 */
.media-kit-back-btn-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2.08vw;
    margin-bottom: 2.08vw;
}

.no-results .media-kit-back-btn-wrapper {
    margin-top: 1.56vw;
    margin-bottom: 0;
}

.media-kit-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.52vw;
    padding: 0.83vw 1.67vw;
    background: #1A1A1A;
    color: #FFFFFF;
    border: none;
    border-radius: 1.15vw;
    font-family: Roboto;
    font-weight: 500;
    font-size: 1.15vw;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.media-kit-back-btn:hover {
    background: #FD5000;
    transform: translateY(-0.10vw);
    box-shadow: 0 0.42vw 1.25vw rgba(253, 80, 0, 0.3);
}

.media-kit-back-btn:active {
    transform: translateY(0);
}

.media-kit-back-btn svg {
    width: 1.04vw;
    height: 1.04vw;
    transition: transform 0.3s ease;
}

.media-kit-back-btn:hover svg {
    transform: translateX(-0.21vw);
}

.media-kit-back-btn span {
    line-height: 1;
}

/* 响应式设计 - 平板 */
@media (max-width: 1200px) {
    .media-kit-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5vw;
    }
    
    .media-kit-content .container {
        padding: 0 2.5vw;
    }
}

@media (max-width: 1024px) {
    .media-kit-title {
        font-size: 10.81vw;
    }
    
    .media-kit-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3.13vw;
    }
    
    .media-kit-item.featured {
        grid-row: span 1;
        transform: none;
    }
    
    .product-image {
        height: 21.56vw;
    }
    
    .featured .product-image {
        height: 27.08vw;
    }
    .media-kit-card{
        width: 28.1vw;
        height: 38.54vw;
        padding: 2.5vw 3vw;
        margin-bottom: 2.19vw;
        border-radius: 1.5vw;
    }
    .product-name{
        font-size: 3vw;

    }
    .download-btn{
        font-size: 2.15vw;
        height: 5.19vw;
        border-radius: 3.15vw;
    }
}

/* 响应式设计 - 手机 */
@media (max-width: 768px) {
    .media-kit-banner-content{
        top: 52vw;
    }
    .media-kit-title {
        font-size: 8vw;
        margin: 0;
        margin-bottom: 3vw;
    }
    
    .media-kit-search input {
        font-size: 3.73vw;
        padding-left: 3.2vw;
        width: 91.46vw;
        height: 9.3vw;
        border-radius: 1.6vw;
    }
    
    .search-btn {
        width: 4.53vw;
        height: 4.53vw;
        right: 3.2vw;
    }
    
    .search-suggestions{
        height: 42.66vw;
        padding-top: 12vw;
        border-radius: 1.6vw;
    }

    .suggestion-item{
        font-size: 3.2vw;
        padding: 0.93vw 3.2vw;
    }
    
    .media-kit-content {
        padding: 13.6vw 0;
    }
    
    .media-kit-content .container {
        padding: 0;
        margin: 0 auto;
        max-width: 91.47vw;
    }
    
    .media-kit-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.93vw;
    }
    
    .media-kit-card {
        padding: 4.26vw 6.66vw;
        border-radius: 2.66vw;
        width: 100%;
        height: 54.4vw;
    }
    
    .product-image {
        height: 32vw;
    }
    
    .featured .product-image {
        height: 32.46vw;
    }
    
    .product-name {
        font-size: 4.26vw;
    }
    
    .featured .product-name {
        font-size: 4.26vw;
    }
    
    .download-btn {
        font-size: 3.73vw;
        height: 6.93vw;
        border-radius: 4vw;
    }
    
    .featured .download-btn {
        font-size: 3.73vw;
        height: 6.93vw;
        border-radius: 4vw;
    }
    
    /* 弹窗响应式样式 */
    .no-results-modal-content {
        max-width: 85vw;
        padding: 6vw 8vw;
        border-radius: 2.66vw;
    }
    
    .no-results-modal-close {
        top: 2.66vw;
        right: 2.66vw;
        width: 5.33vw;
        height: 5.33vw;
    }
    
    .no-results-modal-body p {
        font-size: 3.73vw;
    }
    
    /* 返回按钮响应式样式 */
    .media-kit-back-btn-wrapper {
        margin-top: 5.33vw;
        margin-bottom: 5.33vw;
    }
    
    .no-results .media-kit-back-btn-wrapper {
        margin-top: 4vw;
        margin-bottom: 0;
    }
    
    .media-kit-back-btn {
        padding: 2.13vw 4.27vw;
        border-radius: 3.15vw;
        font-size: 3.73vw;
        gap: 1.33vw;
    }
    
    .media-kit-back-btn svg {
        width: 2.67vw;
        height: 2.67vw;
    }
    
}


/* 加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(1.56vw);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.media-kit-item {
    animation: fadeInUp 0.6s ease forwards;
}

.media-kit-item:nth-child(1) { animation-delay: 0.1s; }
.media-kit-item:nth-child(2) { animation-delay: 0.2s; }
.media-kit-item:nth-child(3) { animation-delay: 0.3s; }
.media-kit-item:nth-child(4) { animation-delay: 0.4s; }
.media-kit-item:nth-child(5) { animation-delay: 0.5s; }

/* 搜索状态 */
.media-kit-item.hidden {
    display: none;
}

.media-kit-item.show {
    display: block;
    animation: fadeInUp 0.4s ease forwards;
}

/* 特殊效果 */
/* .media-kit-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.05"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.05"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
    z-index: 1;
} */
