@charset "UTF-8";
/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.section-title p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* 微信主题色 */
:root {
    --wechat-green: #1a7c3a;
    --wechat-dark-green: #0d5c24;
    --wechat-light-green: #E8F7F0;
    --wechat-blue: #10AEFF;
    --wechat-gray: #F7F7F7;
}

/* 头部样式 */
header {
    background: linear-gradient(135deg, var(--wechat-green) 0%, var(--wechat-dark-green) 100%);
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 10px;
}
.logo a {
    color: white; text-decoration: none; display: flex; align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

nav ul li a:hover {
    opacity: 0.8;
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}



/* 底部区域 */
footer {
    background: #1a1a1a;
    color: white;
    padding: 40px 0 20px;
    margin-top: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-column h3 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #ccc;
    font-size: 14px;
}

.copyright a, .copyright a:hover{
    color: #ccc;
    text-decoration: none;
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    .category-tag, .buy-btn, .faq-question {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .buy-btn {
        padding: 12px 20px;
    }
    
    nav ul li a {
        padding: 10px 15px;
        display: block;
    }
}

/* 防止手机端缩放问题 */
@media (max-width: 768px) {
    input, select, textarea {
        font-size: 16px;
    }
}