<template>
  <footer class="footer">
    <div class="container">
      <div class="footer-grid">
        <!-- 品牌介绍 -->
        <div class="footer-brand">
          <div class="footer-logo">⚡ 河南星动</div>
          <p>致力于推动清洁能源转型，为全球提供可持续的新能源解决方案。</p>
          <div class="social-links">
            <a href="#" class="social-btn" title="微信">💬</a>
            <a href="#" class="social-btn" title="微博">🌐</a>
            <a href="#" class="social-btn" title="LinkedIn">💼</a>
          </div>
        </div>

        <!-- 快速链接 -->
        <div class="footer-col">
          <h4>快速导航</h4>
          <ul>
            <li><RouterLink to="/">首页</RouterLink></li>
            <li><RouterLink to="/about">关于我们</RouterLink></li>
            <li><RouterLink to="/products">产品中心</RouterLink></li>
            <li><RouterLink to="/solutions">解决方案</RouterLink></li>
            <li><RouterLink to="/news">新闻资讯</RouterLink></li>
          </ul>
        </div>

        <!-- 产品 -->
        <div class="footer-col">
          <h4>核心产品</h4>
          <ul>
            <li><a href="#">光伏组件</a></li>
            <li><a href="#">储能系统</a></li>
            <li><a href="#">风力发电</a></li>
            <li><a href="#">智能逆变器</a></li>
            <li><a href="#">充电桩</a></li>
          </ul>
        </div>

        <!-- 联系方式 -->
        <div class="footer-col">
          <h4>联系我们</h4>
          <ul class="contact-list">
            <li>📍 河南省郑州市郑东新区智慧岛</li>
            <li>📞 400-888-0000</li>
            <li>✉️ info@henanxingdong.com</li>
            <li>🕐 周一至周五 9:00-18:00</li>
          </ul>
        </div>
      </div>

      <div class="footer-bottom">
        <p>© 2024 河南星动科技有限公司 版权所有</p>
        <div class="footer-links">
          <a href="#">隐私政策</a>
          <a href="#">服务条款</a>
          <a href="#">网站地图</a>
        </div>
      </div>
    </div>
  </footer>
</template>

<script setup>
</script>

<style scoped>
.footer {
  background: #0d1b2a;
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background 0.3s;
}

.social-btn:hover {
  background: var(--color-primary);
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
}

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

.footer-col ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--color-primary-light);
}

.contact-list li {
  font-size: 0.88rem;
  line-height: 1.8;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: rgba(255,255,255,0.45);
  transition: color 0.3s;
}

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

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
</style>
