/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

/* 头部样式 */
.header {
    background-color: #ffffff;

    padding: 37px 0;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.miniprogram-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.qr-container {
    position: relative;
    display: inline-block;
}

.qr-placeholder {
    width: 30px;
    height: 24px;
    background-color: #e0e0e0;
    border-radius: 4px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.qr-zoom {
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: 15px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 120px;
}

.qr-zoom img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.qr-zoom span {
    font-size: 12px;
    color: #666;
    text-align: center;
}

.qr-container:hover .qr-zoom {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.customer-service {
    color: #666;
    font-size: 14px;
    margin-top: -40px;
}

/* 主要内容区域 */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    padding-top: 63px;
}

/* Logo区域样式 */
.logo-section {
    text-align: center;
    margin-bottom: 40px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 2px;
}

.logo-graphic {
    display: flex;
    gap: 5px;
}

.logo-shape {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.logo-shape.red {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
}

.logo-shape.yellow {
    background: linear-gradient(45deg, #ffd93d, #ffed4e);
}

.logo-shape.blue {
    background: linear-gradient(45deg, #4dabf7, #74c0fc);
}

.logo-shape.green {
    background: linear-gradient(45deg, #51cf66, #69db7c);
}

.logo h1 {
    font-size: 32px;
    font-weight: bold;
    color: #333;
}

.platform-info {
    margin-bottom: 10px;
}

.website {
    font-size: 16px;
    color: #666;
    margin-bottom: 5px;
}

.tagline {
    color: rgba(91, 91, 91, 1);

    font-family: Noto Sans SC;
    font-size: 16px;
    font-weight: 400;
    line-height: 23px;
    letter-spacing: 4px;
    text-align: left;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 搜索栏样式 */
.search-section {
    margin-bottom: 90px;
}

.search-container {
    display: flex;
    justify-content: center;
}

.search-input {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    border: 2px solid rgba(225, 225, 225, 1);
    border-radius: 604px;
    background: rgba(255, 255, 255, 1);
    width: 618px;
    height: 56px;
    padding: 12px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.search-input input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 0 10px;
    background: transparent;
}

.search-icon, .mic-icon {
    font-size: 18px;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 50%;
    padding: 4px;
}


.mic-icon.listening {
    background-color: rgba(255, 77, 79, 0.2);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.search-icon img, .mic-icon img {
    width: 18px;
    height: 30px;
    object-fit: contain;

}

.ai-search-btn {
    background: #E1E1E1;
    color: #6E6E6E;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ai-search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* 内容区域样式 */
.content-section {
    margin-top: 60px;
}

.content-container {
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    gap: 30px;
    align-items: start;
}

/* 广告位样式 */
.left-ads, .right-ads {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ad-slot {
    /* 矩形 3 */
    width: 201px;
    height: 148.79px;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

/* .ad-slot:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
} */

.ad-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ad-placeholder {
    display: none;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    color: #666;
    border: 2px dashed #ccc;
}

/* 产品链接区域样式 */
.product-links {
    background-color: #ffffff;
    border-radius: 8px;

    padding-left: 44px;
    padding-right: 30px;

    max-height: 310px;
    overflow-y: auto;
    margin-right: 30px;

}

.links-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.link-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

.category-title {
    color: rgba(174, 174, 174, 1);

    font-family: Noto Sans SC;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: 0px;
    text-align: left;
}

.product-link {
    color: rgba(174, 174, 174, 1);
    text-decoration: none;
    font-family: Noto Sans SC;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0px;
    text-align: left;
}

.product-link:hover {
    text-decoration: none;
}



.separator {
    color: #ccc;
    font-size: 14px;
    margin: 0 4px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .content-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .left-ads, .right-ads {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .logo {
        flex-direction: column;
        gap: 10px;
    }
    
    .logo h1 {
        font-size: 24px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .search-input {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 10px;

    }
    
    .left-ads, .right-ads {
        grid-template-columns: 1fr;
    }
    
    .link-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .separator {
        display: none;
    }
}

/* 滚动条样式 */
.product-links::-webkit-scrollbar {
    width: 6px;
}

.product-links::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.product-links::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.product-links::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}
