/* ==================== 全局样式 ==================== */
:root {
    --primary-green: #19b955;
    --primary-green-light: #1ed961;
    --primary-green-dark: #159a44;
    --primary-orange: #ff9800;
    --primary-orange-light: #ffb74d;
    --primary-orange-dark: #f57c00;
    --bg-white: #ffffff;
    --bg-light: #f5f7fa;
    --bg-gray: #f0f2f5;
    --bg-dark: #000000;
    --text-dark: #000000;
    --text-gray: #666666;
    --text-light: #999999;
    --text-white: #ffffff;
    --border-color: #e8e8e8;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

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

body { 
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif; 
    line-height: 1.6; 
    color: #333; 
    background: var(--bg-white); 
}

/* ==================== 品牌条 ==================== */
.brand-bar {
    background: linear-gradient(90deg, #19b955 0%, #ff9800 100%);
    height: 4px;
    width: 100%;
}

/* ==================== 导航栏 ==================== */
.header { 
    background: #fff; 
    box-shadow: var(--shadow-sm); 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    border-bottom: 1px solid var(--border-color); 
}

.header-content { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    gap: 20px; 
    height: 70px; 
}

.logo { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    text-decoration: none; 
    flex-shrink: 0; 
}

.logo-icon { 
    width: 106px; 
    height: 34px; 
    object-fit: contain; 
}

.logo-text-img { 
    width: 168px; 
    height: 17px; 
    object-fit: contain; 
}

.search-box { 
    flex: 1; 
    max-width: 420px; 
    position: relative; 
}

.search-box input { 
    width: 100%; 
    padding: 10px 45px 10px 20px; 
    border: 1px solid var(--border-color); 
    border-radius: 24px; 
    font-size: 14px; 
    transition: all 0.3s; 
    background: var(--bg-light); 
}

.search-box input:focus { 
    outline: none; 
    border-color: var(--primary-green); 
    box-shadow: 0 0 0 3px rgba(25, 185, 85, 0.1); 
    background: #fff; 
}

.search-box button { 
    position: absolute; 
    right: 5px; 
    top: 50%; 
    transform: translateY(-50%); 
    background: linear-gradient(135deg, #19b955 0%, #1ed961 100%); 
    border: none; 
    width: 34px; 
    height: 34px; 
    border-radius: 50%; 
    color: white; 
    cursor: pointer; 
    font-size: 15px; 
    box-shadow: 0 2px 8px rgba(25, 185, 85, 0.3); 
}

.header-buttons { 
    display: flex; 
    gap: 10px; 
    flex-shrink: 0; 
}

.header-btn { 
    padding: 9px 22px; 
    border-radius: 24px; 
    text-decoration: none; 
    font-size: 14px; 
    font-weight: 600; 
    transition: all 0.3s; 
}

.btn-home { 
    background: var(--bg-light); 
    color: var(--text-gray); 
}

.btn-home:hover { 
    background: #e5e7eb; 
}

.btn-community { 
    background: linear-gradient(135deg, #19b955 0%, #1ed961 100%); 
    color: white; 
    box-shadow: 0 2px 8px rgba(25, 185, 85, 0.3); 
}

.btn-community:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 4px 15px rgba(25, 185, 85, 0.4); 
}

/* ==================== 底部 ==================== */
.footer { 
    background: var(--bg-dark); 
    color: #9ca3af; 
    padding: 30px 20px; 
    text-align: center; 
}

.footer p { 
    font-size: 13px; 
    margin-bottom: 5px; 
}

.footer a { 
    color: #9ca3af; 
    text-decoration: none; 
    transition: color 0.3s; 
}

.footer a:hover { 
    color: var(--primary-green); 
}

/* ==================== 响应式 ==================== */
@media (max-width: 768px) {
    .header-content { 
        flex-wrap: wrap; 
        height: auto; 
        padding: 12px 20px; 
    }
    
    .search-box { 
        order: 3; 
        max-width: 100%; 
        width: 100%; 
    }
}
