/* 页面特定样式 - 公共样式请查�?common.css */

/* 横幅区域 */
.banner {
    background: linear-gradient(135deg, #1a1a80 0%, #2d2dcc 50%, #1a1a80 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.banner-title {
    text-align: center;
    color: #e9ecef;
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.banner-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.search-box {
    display: flex;
    max-width: 800px;
    margin: 0 auto;
}

.search-input {
    flex: 1;
    padding: 15px 20px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 8px 0 0 8px;
    outline: none;
    background: #fff;
}

.search-input:focus {
    border-color: #daa520;
}

.search-btn {
    background: linear-gradient(135deg, #b8860b, #daa520);
    color: #333;
    border: none;
    padding: 0 30px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 0 8px 8px 0;
    transition: all 0.3s;
}

.search-btn:hover {
    background: linear-gradient(135deg, #daa520, #ffd700);
    transform: scale(1.02);
}

.search-btn-secondary {
    background: #fff;
    color: #b8860b;
    border: 1px solid #b8860b;
    padding: 0 25px;
    font-size: 14px;
    cursor: pointer;
    margin-left: 10px;
    border-radius: 8px;
    transition: all 0.3s;
}

.search-btn-secondary:hover {
    background: #faf0d0;
    transform: translateY(-2px);
}

/* 搜索和分类容器 */
.search-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* 快速分�?*/
.quick-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 15px;
    gap: 10px;
}

.category-link {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f8f9fa;
    color: #333;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid #e9ecef;
    text-decoration: none;
}

.category-link:hover {
    background: #fff;
    border-color: #daa520;
    color: #b8860b;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(184, 134, 11, 0.15);
}

.category-link i {
    font-size: 14px;
    color: #b8860b;
}

/* 数据统计 */
.stats {
    background: #fff;
    padding: 40px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.stats .container {
    display: flex;
    justify-content: space-around;
}

.stat-item {
    text-align: center;
    flex: 1;
    transition: all 0.3s;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 36px;
    color: #b8860b;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.stat-item:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    color: #daa520;
}

.stat-value {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

/* 优选商标转�?*/
.trademark-section {
    padding: 60px 0;
    background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #b8860b, #daa520);
    border-radius: 2px;
}

.section-subtitle {
    color: #666;
    margin-bottom: 20px;
}

.section-more {
    color: #b8860b;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
}

.section-more:hover {
    text-decoration: underline;
    color: #daa520;
}

.section-footer {
    text-align: center;
    margin-top: 30px;
}

.btn-more {
    display: inline-block;
    padding: 12px 40px;
    border: 2px solid #b8860b;
    color: #b8860b;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

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

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

.btn-more:hover {
    background: #b8860b;
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.3);
}

/* Tab切换容器 */
.tab-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.tab-header {
    display: flex;
    align-items: center;
    padding: 0 20px;
    border-bottom: 1px solid #eee;
    background: #fafafa;
    overflow: hidden;
}

.tab-item {
    padding: 15px 25px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    position: relative;
}

.tab-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, #b8860b, #daa520);
    transition: transform 0.3s;
}

.tab-item:hover {
    color: #b8860b;
}

.tab-item:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.tab-item.active {
    color: #b8860b;
    border-bottom-color: #b8860b;
    background: #fff;
    font-weight: bold;
}

.tab-item.active::after {
    transform: translateX(-50%) scaleX(1);
}

.tab-more {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 15px 20px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    margin-left: auto;
    border-left: 1px solid #eee;
    transition: all 0.3s;
}

.tab-more:hover {
    color: #b8860b;
}

.tab-more:hover i {
    transform: rotate(180deg);
}

.tab-more i {
    transition: transform 0.3s;
}

/* 商标网格 */
.trademark-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 24px;
}

/* 商标卡片 */
.trademark-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid #f0f0f0;
}

.trademark-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.18);
    border-color: rgba(184, 134, 11, 0.3);
}

/* 商标Logo区域 */
.trademark-logo {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: bold;
    color: #333;
    background: #ffffff;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.trademark-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
    transition: left 0.6s ease;
}

.trademark-card:hover .trademark-logo::before {
    left: 100%;
}

.trademark-logo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background: linear-gradient(135deg, rgba(184, 134, 11, 0.1) 0%, rgba(184, 134, 11, 0.2) 100%);*/
    opacity: 0;
    transition: opacity 0.4s ease;
}

.trademark-card:hover .trademark-logo::after {
    opacity: 1;
}

/* 图片加载占位�?*/
.trademark-logo .image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: bold;
    color: #333;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

/* 商标图片 */
.trademark-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 8px rgb(255, 255, 255));
}

.trademark-card:hover .trademark-logo img {
    transform: scale(1.15);
    filter: drop-shadow(0 4px 15px rgb(255, 255, 255));
}

/* Logo备用文字 */
.trademark-logo .logo-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    font-weight: bold;
    color: #333;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.trademark-card:hover .trademark-logo .logo-fallback {
    transform: scale(1.1);
}

/* 商标信息区域 */
.trademark-info {
    padding: 20px;
    position: relative;
}

.trademark-name {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    display: inline-block;
}

.trademark-card:hover .trademark-name {
    color: #b8860b;
    transform: translateX(5px);
}

.trademark-class {
    font-size: 12px;
    color: #b8860b;
    margin-bottom: 12px;
    font-weight: 500;
    padding: 3px 8px;
    background: rgba(184, 134, 11, 0.1);
    border-radius: 4px;
    display: inline-block;
}

.trademark-desc {
    font-size: 12px;
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 价格区域 */
.trademark-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 12px;
}

.trademark-price .price {
    font-size: 24px;
    font-weight: 700;
    color: #e74c3c;
    transition: all 0.3s ease;
    position: relative;
}

.trademark-price .price::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #e74c3c, #c0392b);
    transition: width 0.3s ease;
}

.trademark-card:hover .trademark-price .price {
    color: #c0392b;
}

.trademark-card:hover .trademark-price .price::after {
    width: 100%;
}

.trademark-price .original {
    font-size: 13px;
    color: #95a5a6;
    text-decoration: line-through;
    transition: all 0.3s ease;
}

/* 标签区域 */
.trademark-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.trademark-tags .tag {
    font-size: 11px;
    padding: 5px 12px;
    background: #f8f9fa;
    color: #6c757d;
    border-radius: 15px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.trademark-card:hover .trademark-tags .tag {
    background: linear-gradient(135deg, #b8860b, #daa520);
    color: #333;
    border-color: #b8860b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(184, 134, 11, 0.3);
}

.trademark-card:hover .trademark-tags .tag::before {
    left: 100%;
}

/* 查看详情按钮 */
.trademark-card .view-btn {
    display: none;
    position: absolute;
    bottom: 20px;
    right: 20px;
    padding: 9px 18px;
    background: linear-gradient(135deg, #b8860b, #daa520);
    color: #333;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.35);
    transition: all 0.3s ease;
    z-index: 10;
}

.trademark-card:hover .view-btn {
    display: inline-block;
    animation: fadeInUp 0.3s ease;
}

.trademark-card .view-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(184, 134, 11, 0.5);
    background: linear-gradient(135deg, #daa520, #ffd700);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 卡片底部装饰�?*/
.trademark-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #b8860b, #daa520, #b8860b);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.trademark-card:hover::after {
    transform: scaleX(1);
}

.more-btn {
    text-align: center;
    margin-top: 40px;
}

.more-btn button {
    background: transparent;
    border: 2px solid #b8860b;
    color: #b8860b;
    padding: 12px 40px;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.more-btn button:hover {
    background: #b8860b;
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.3);
}

/* 优质知产服务 */
.service-section {
    background: #f8f9fa;
    padding: 60px 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-box {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.service-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #b8860b, #daa520);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.service-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.service-box:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #b8860b, #daa520);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.3);
    transition: all 0.3s;
    position: relative;
}

.service-box:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(184, 134, 11, 0.4);
}

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

.service-box:hover .service-icon::before {
    left: 100%;
}

.service-icon .icon-text {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.service-box h3 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.service-box:hover h3 {
    color: #b8860b;
}

.service-box p {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 12px;
}

.service-price {
    margin-bottom: 15px;
}

.service-price .price {
    font-size: 24px;
    font-weight: bold;
    color: #ff4757;
    transition: color 0.3s;
}

.service-box:hover .service-price .price {
    color: #c0392b;
}

.service-price .original {
    font-size: 12px;
    color: #999;
    margin-left: 8px;
    text-decoration: line-through;
}

.service-btn {
    display: inline-block;
    padding: 9px 22px;
    background: linear-gradient(135deg, #b8860b, #daa520);
    color: #333;
    border-radius: 25px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.service-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.4s;
}

.service-btn:hover {
    background: linear-gradient(135deg, #daa520, #ffd700);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.4);
}

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

/* 服务保障 */
.service-guarantee {
    background: linear-gradient(135deg, #1a1a80 0%, #2d2dcc 100%);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.service-guarantee::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.guarantee-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.guarantee-box:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.guarantee-icon {
    font-size: 32px;
    color: #daa520;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(218, 165, 32, 0.15);
    border-radius: 50%;
    transition: all 0.3s;
}

.guarantee-box:hover .guarantee-icon {
    transform: scale(1.1) rotate(5deg);
    color: #ffd700;
}

.guarantee-text h3 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.guarantee-text p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

/* 响应式设�?- 页面特定 */
@media (max-width: 992px) {
    .trademark-grid,
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .guarantee-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .banner-title {
        font-size: 32px;
    }
    
    .stats .container {
        flex-wrap: wrap;
    }
    
    .stat-item {
        flex: 0 0 50%;
        margin-bottom: 20px;
    }
    
    .trademark-logo {
        height: 140px;
    }
    
    .trademark-logo .logo-fallback {
        font-size: 52px;
    }
}

@media (max-width: 576px) {
    .trademark-grid,
    .service-grid,
    .guarantee-grid {
        grid-template-columns: 1fr;
    }
    
    .search-box {
        flex-direction: column;
        gap: 10px;
    }
    
    .search-btn,
    .search-btn-secondary {
        border-radius: 8px;
        margin-left: 0;
    }
    
    .stat-item {
        flex: 0 0 100%;
    }
    
    .trademark-logo {
        height: 130px;
    }
    
    .trademark-logo .logo-fallback {
        font-size: 48px;
    }
    
    .trademark-card:hover {
        transform: translateY(-8px) scale(1.01);
    }
    
    .guarantee-box {
        flex-direction: column;
        text-align: center;
    }
}

