<script setup>
import { onUnmounted, ref, watch, onMounted, computed } from "vue";
function copyEmail() {
  navigator.clipboard.writeText('fiee@dlkadvisory.com');
}
</script>

<template>
  <main ref="main" class="flex flex-col items-center from-primary to-accent w-[100vw] mt-12 animate-fade-in px-6 py-10 pt-500px">
    <div class="w-full flex flex-col items-center gap-5 px-4">
      <h1 class="text-3xl font-bold text-primary animate-fade-in-down animate-delay-0">Investor Contacts</h1>
      <div class="text-xl font-semibold text-gray-800 animate-fade-in-down animate-delay-200">FiEE Inc.</div>
      <div class="text-lg text-secondary animate-fade-in-down animate-delay-400">Investor Relations</div>
      <div class="text-base text-gray-600 flex items-center gap-2 animate-fade-in-down animate-delay-600">
        <span>Email:</span>
        <span class="transition-colors duration-300 cursor-pointer text-accent hover:text-primary active:text-secondary select-all" @click="copyEmail">fiee@dlkadvisory.com</span>
      </div>
    </div>
  </main>
</template>

<style scoped lang="scss">
@keyframes fade-in-down {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-fade-in-down {
  animation: fade-in-down 0.8s cubic-bezier(0.23, 1, 0.32, 1) both;
}
.animate-delay-0 { animation-delay: 0s; }
.animate-delay-200 { animation-delay: 0.2s; }
.animate-delay-400 { animation-delay: 0.4s; }
.animate-delay-600 { animation-delay: 0.6s; }
</style>

