<?php
/**
 * Block Template: Features
 * 特性展示区块模板
 */

// 防止直接访问
if (!defined('ABSPATH')) {
    exit;
}

// 获取区块属性
$block_id = isset($block['id']) ? $block['id'] : 'features-' . uniqid();
$class_name = 'features-block';
if (!empty($block['className'])) {
    $class_name .= ' ' . $block['className'];
}
if (!empty($block['align'])) {
    $class_name .= ' align' . $block['align'];
}
?>

<div id="<?php echo esc_attr($block_id); ?>" class="<?php echo esc_attr($class_name); ?>">
    <div class="features-container">
        <!-- 主标题 -->
        <div class="features-header">
            <h2 class="features-title">领先的新能源产品和技术服务提供商</h2>
        </div>
        
        <!-- 统计数据展示 -->
        <div class="features-stats">
            <div class="features-stat-item">
                <div class="stat-number">200+项</div>
                <div class="stat-label">公司已获专利知识产权</div>
            </div>
            
            <div class="features-stat-item">
                <div class="stat-number">20项</div>
                <div class="stat-label">发明专利</div>
            </div>
            
            <div class="features-stat-item">
                <div class="stat-number">153项</div>
                <div class="stat-label">实用新型专利</div>
            </div>
            
            <div class="features-stat-item">
                <div class="stat-number">31项</div>
                <div class="stat-label">计算机软件著作权</div>
            </div>
        </div>
    </div>
</div>