<template>
  <div class="aui-image-text">
    <div class="company-logo">
      <i class="fas fa-shield-alt"></i>
    </div>
    <h1 class="company-title">{{ appTitle }}</h1>
    <div class="company-description">
      专注于为金融机构提供全方位的风险管理解决方案，包括专业的咨询服务与先进的风险控制平台。
      我们致力于帮助客户构建稳健的金融安全体系，实现业务高效增长与风险可控的完美平衡。
    </div>
    <div class="feature-list">
      <div class="feature-item">
        <i class="fas fa-chart-line"></i>
        <span>专业风险分析</span>
      </div>
      <div class="feature-item">
        <i class="fas fa-lock"></i>
        <span>安全保障体系</span>
      </div>
      <div class="feature-item">
        <i class="fas fa-cogs"></i>
        <span>智能风控平台</span>
      </div>
    </div>
  </div>
</template>

<script lang="ts" setup>
import { ref } from 'vue';

const appTitle = import.meta.env.VITE_GLOB_APP_TITLE;

// 公司特色数据
const features = ref([
  { icon: 'chart-line', text: '专业风险分析' },
  { icon: 'lock', text: '安全保障体系' },
  { icon: 'cogs', text: '智能风控平台' }
]);
</script>

<style lang="less" scoped>
.aui-image-text {

}

.company-logo {
  font-size: 48px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
  animation: pulse 2s infinite;
}

.company-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
}

.company-description {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
  opacity: 0.95;

}

.feature-list {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s ease;
  
  &:hover {
    transform: translateY(-5px);
  }
  
  i {
    font-size: 24px;
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
  }
  
  span {
    font-size: 14px;
    font-weight: 500;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(180deg);
  }
}

// 响应式设计
@media (max-width: 768px) {
  .aui-image-text {
    padding: 30px 20px;
    margin: 20px;
  }
  
  .company-title {
    font-size: 24px;
  }
  
  .company-description {
    font-size: 15px;
  }
  
  .feature-list {
    gap: 20px;
  }
  
  .feature-item {
    i {
      font-size: 20px;
      width: 40px;
      height: 40px;
    }
    
    span {
      font-size: 13px;
    }
  }
}
</style>