* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    color: #333;
    background: #f7f7f7;
}

.container {
    max-width: 90%;
    margin: 0 auto;
    padding: 0 20px;
}

/* 搜索区域 */
.search-section {
    background: white;
    padding: 30px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.search-box {
    max-width: 800px;
    margin: 0 auto;
}

.search-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.search-tab {
    padding: 8px 20px;
    background: transparent;
    border: 2px solid #e8e8e8;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    color: #666;
}

.search-tab.active {
    background: #ff6b35;
    color: white;
    border-color: #ff6b35;
}

.search-tab:hover {
    border-color: #ff6b35;
    color: #ff6b35;
}

.search-tab.active:hover {
    color: white;
}

.search-input-wrapper {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.search-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.search-btn {
    padding: 15px 30px;
    background: #ff6b35;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.search-btn:hover {
    background: #ff8c5a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.search-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.search-tag-item {
    padding: 6px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
}

.search-tag-item:hover {
    background: rgba(255, 107, 53, 0.1);
    color: #ff6b35;
}

.search-results {
    margin-top: 20px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.search-result-item {
    padding: 15px;
    background: white;
    border-radius: 6px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.search-result-item:hover {
    border-left-color: #ff6b35;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.search-result-type {
    display: inline-block;
    padding: 3px 8px;
    background: #ff6b35;
    color: white;
    border-radius: 3px;
    font-size: 11px;
    margin-right: 10px;
}

.search-result-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.search-result-desc {
    font-size: 13px;
    color: #666;
}

.search-no-result {
    text-align: center;
    padding: 40px;
    color: #999;
}

.highlight {
    background: yellow;
    padding: 0 2px;
}

/* 页面头部 */
.page-hero {
    background: url('../img/gc_index.png') center center / cover no-repeat;
    padding: 80px 0;
    color: white;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.page-hero > * {
    position: relative;
    z-index: 2;
}

.page-hero h2 {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-hero p {
    font-size: 18px;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
}

.hero-tags {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
}

.hero-tag {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    font-size: 14px;
    backdrop-filter: blur(10px);
}

/* 工厂产品展示区 */
.factory-product-section {
    padding: 50px 0;
}

.factory-product-card {
    background: white;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s;
}

.factory-product-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.factory-product-layout {
    display: grid;
    grid-template-columns: 400px 1fr;
    min-height: 500px;
}

/* 左侧工厂介绍 */
.factory-info {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    padding: 40px;
    border-right: 1px solid #e8e8e8;
}

.factory-badge {
    display: inline-block;
    padding: 6px 15px;
    background: #ff6b35;
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
}

.factory-name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.factory-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
}

.factory-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 8px;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: #ff6b35;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: #999;
}

.factory-certifications {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.cert-tag {
    padding: 5px 12px;
    background: rgba(255, 107, 53, 0.1);
    color: #ff6b35;
    border-radius: 4px;
    font-size: 12px;
}

.factory-image {
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    height: 220px;
}

.factory-img-placeholder {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.factory-img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.factory-btn {
    width: 100%;
    padding: 12px;
    background: #ff6b35;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.factory-btn:hover {
    background: #ff8c5a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* 右侧平替产品 */
.alternative-products {
    padding: 40px;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ff6b35;
}

.products-title {
    font-size: 20px;
    font-weight: 600;
}

.brand-compare {
    font-size: 13px;
    color: #999;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.product-item {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.product-image-wrapper {
    position: relative;
    background: #f5f5f5;
    padding: 20px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-wrapper .product-emoji {
    font-size: 64px;
}

.price-compare-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ff6b35, #ff8c5a);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.product-info {
    padding: 15px;
}

.product-brand {
    font-size: 11px;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 5px;
}

.product-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 8px;
}

.current-price {
    font-size: 20px;
    font-weight: 700;
    color: #ff6b35;
}

.original-price {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
}

.product-tags {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.tag {
    padding: 3px 8px;
    background: rgba(255, 107, 53, 0.08);
    color: #ff6b35;
    border-radius: 3px;
    font-size: 11px;
}

/* 优势说明区 */
.advantage-section {
    padding: 60px 0;
    background: white;
}

.advantage-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding: 30px 20px;
}

.advantage-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.advantage-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.advantage-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 底部 */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 40px 0 20px;
    text-align: center;
}
/* 底部 */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 50px 0 20px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.footer-brand p {
    font-size: 13px;
    color: #999;
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 32px;
    height: 32px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.social-icon:hover {
    background: #1890ff;
}

.footer-links h4 {
    font-size: 14px;
    margin-bottom: 15px;
}

.footer-links a {
    display: block;
    color: #999;
    text-decoration: none;
    font-size: 13px;
    padding: 5px 0;
}

.footer-links a:hover {
    color: #1890ff;
}

.footer-qr {
    display: flex;
    gap: 20px;
}

.qr-item {
    text-align: center;
}

.qr-code {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 8px;
    margin-bottom: 8px;
}

.qr-label {
    font-size: 12px;
    color: #999;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #999;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #999;
    text-decoration: none;
}

.footer-bottom-links a:hover {
    color: #1890ff;
}

/* 右侧悬浮按钮 */
.float-buttons {
    position: fixed;
    right: 20px;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.float-btn {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s;
}

.float-btn:hover {
    background: #1890ff;
    color: white;
}

.float-btn-icon {
    font-size: 20px;
    margin-bottom: 2px;
}

.float-btn-text {
    font-size: 10px;
}
/* 移动端适配 */
@media screen and (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }

    .page-hero {
        padding: 50px 0;
    }

    .page-hero h2 {
        font-size: 28px;
    }

    .hero-tags {
        flex-direction: column;
        align-items: center;
    }

    .factory-product-layout {
        grid-template-columns: 1fr;
    }

    .factory-info {
        border-right: none;
        border-bottom: 1px solid #e8e8e8;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .advantage-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}
