<template>
  <footer class="mobile-footer">
    <div class="mobile-footer-container">
      <div class="footer-brand">
        <h2 class="brand-title">DDAC</h2>
      </div>
      <nav class="footer-nav">
        <div class="nav-column">
          <h3 class="nav-title">安全产品</h3>
          <div class="nav-link">SDK安全加速</div>
          <div class="nav-link">Web安全加速</div>
          <div class="nav-link">TCP安全加速</div>
          <div class="nav-link">DNS安全加速</div>
        </div>
        <div class="nav-column">
          <h3 class="nav-title">关于我们</h3>
          <div class="nav-link">企业简介</div>
          <div class="nav-link">资质认证</div>
          <div class="nav-link">法律条款</div>
        </div>
      </nav>
      <div class="footer-contact">
        <span class="contact-label">联系我们</span>
        <a href="mailto:support@yundun.com" class="contact-email">support@yundun.com</a>
      </div>
      <div class="footer-bottom">
        <p class="copyright">Copyright@2025 SUYUN, All Rights Reserved</p>
      </div>
    </div>
  </footer>
</template>

<script setup>

</script>

<style scoped lang="scss">
.mobile-footer {
  width: 100%;
  background-color: #030014;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px 16px;
  margin-top: auto;
}

.mobile-footer-container {
  max-width: 768px;
  margin: 0 auto;
}

.footer-brand {
  margin-bottom: 32px;

  .brand-title {
    
    font-size: 28px;
    font-weight: 900;
    color: #ffffff;
    margin: 0;
  }
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 32px;
}

.nav-column {
  .nav-title {
    
    font-size: 18px;
    font-weight: 500;
    color: #ffffff;
    margin: 0 0 16px 0;
  }

  .nav-link {
    
    font-size: 14px;
    color: #bdbdbd;
    margin-bottom: 12px;
    cursor: pointer;

    &:last-child {
      margin-bottom: 0;
    }

    &:hover {
      color: #ffffff;
    }
  }
}

.footer-contact {
  margin-bottom: 24px;

  .contact-label {
    display: block;
    
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 8px;
  }

  .contact-email {
    
    font-size: 14px;
    color: #bdbdbd;
    text-decoration: none;
  }
}

.footer-bottom {
  .copyright {
    
    font-size: 12px;
    color: #666;
    margin: 0;
    text-align: center;
  }
}
</style>
