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

:root {
    --bg-primary: #F8F7F4;
    --bg-secondary: #F1EDE4;
    --bg-card: #FFFFFF;
    --text-primary: #2A2A2A;
    --text-secondary: #666666;
    --text-muted: #999999;
    --accent: #B8860B;
    --accent-light: #D4AF61;
    --accent-gradient: linear-gradient(135deg, #B8860B 0%, #D4AF61 100%);
    --border: #E8E3D8;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.03);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.06);
    --shadow-lg: 0 16px 40px rgba(0,0,0,0.08);
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(248, 247, 244, 0.75);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(232, 227, 216, 0.6);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 20px;
    font-weight: 600;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1.5px;
}

.nav-menu {
    display: flex;
    gap: 44px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
    padding: 4px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-menu a:hover {
    color: var(--accent);
}

.nav-menu a:hover::after {
    width: 100%;
}

.search-box input {
    padding: 10px 20px;
    border: 1px solid var(--border);
    border-radius: 50px;
    background: var(--bg-card);
    outline: none;
    width: 240px;
    font-size: 14px;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.search-box input:focus {
    border-color: var(--accent-light);
    box-shadow: 0 0 0 4px rgba(184, 134, 11, 0.08);
    width: 260px;
}

.search-box input::placeholder {
    color: var(--text-muted);
}

/* 首屏Banner */
.banner {
    margin-top: 80px;
    height: 90vh;
    min-height: 640px;
    background: 
        radial-gradient(circle at 80% 20%, rgba(212, 175, 97, 0.12) 0%, transparent 50%),
        linear-gradient(135deg, #F8F7F4 0%, #EDE8DC 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    padding: 0 20px;
}

.banner-content h1 {
    font-size: 56px;
    font-weight: 300;
    margin-bottom: 28px;
    letter-spacing: 4px;
    color: var(--text-primary);
    line-height: 1.3;
}

.banner-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 56px;
    font-weight: 300;
    letter-spacing: 2px;
}

.btn-primary {
    display: inline-block;
    padding: 16px 52px;
    background: var(--accent-gradient);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.25);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(184, 134, 11, 0.35);
}

/* 通用区块 */
.section {
    padding: 110px 0;
}

.section-gray {
    background: var(--bg-secondary);
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 80px;
    position: relative;
    letter-spacing: 3px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--accent-gradient);
    margin: 24px auto 0;
    border-radius: 2px;
}

/* 关于我们 */
.about-content > p {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 70px;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 2;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}

.feature-item {
    text-align: center;
    padding: 56px 36px;
    background: var(--bg-card);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border);
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--text-primary);
    font-weight: 500;
    letter-spacing: 1px;
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
}

/* 产品分类 */
.category-filter {
    text-align: center;
    margin-bottom: 56px;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.cate-btn {
    padding: 11px 32px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
    font-size: 14px;
    letter-spacing: 1px;
}

.cate-btn.active,
.cate-btn:hover {
    background: var(--accent-gradient);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(184, 134, 11, 0.2);
    transform: translateY(-2px);
}

/* 产品网格 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.product-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid transparent;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border);
}

.product-img {
    width: 100%;
    height: 260px;
    background: linear-gradient(135deg, #F1EDE4 0%, #E8E3D8 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 14px;
    position: relative;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-img img {
    transform: scale(1.08);
}

.product-info {
    padding: 28px 24px 30px;
}

.product-info h3 {
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.product-info p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.product-price {
    color: var(--accent);
    font-weight: 600;
    font-size: 17px;
    letter-spacing: 1px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 联系我们 */
.contact-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    text-align: center;
}

.contact-item {
    padding: 52px 36px;
    background: var(--bg-card);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.contact-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--border);
}

.contact-item h3 {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--accent);
    font-weight: 500;
    letter-spacing: 1px;
}

.contact-item p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
}

/* 页脚 */
.footer {
    background: #2A2A2A;
    color: #888;
    text-align: center;
    padding: 40px 0;
    font-size: 14px;
    letter-spacing: 1px;
}

/* 响应式适配 */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
    
    .nav-container {
        padding: 0 24px;
        height: 70px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .search-box input {
        width: 160px;
    }
    
    .search-box input:focus {
        width: 180px;
    }
    
    .banner {
        margin-top: 70px;
        height: 80vh;
        min-height: 500px;
    }
    
    .banner-content h1 {
        font-size: 36px;
        letter-spacing: 2px;
    }
    
    .banner-content p {
        font-size: 16px;
        letter-spacing: 1px;
        margin-bottom: 40px;
    }
    
    .btn-primary {
        padding: 14px 40px;
        font-size: 14px;
    }
    
    .about-features,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .section {
        padding: 70px 0;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 50px;
        letter-spacing: 2px;
    }
}
