@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800;900&family=Inter:wght@400;600;700&display=swap');
@import "tailwindcss";

@theme inline {
  --color-background: #000000;
  --color-foreground: #ffffff;
}

:root {
  --background: #000000;
  --foreground: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: 'Poppins', 'Inter', Arial, Helvetica, sans-serif;
  overflow-x: hidden;
  perspective: 1200px;
  position: relative;
}

/* Attractive, clear font utility for headings and CTAs */
.font-attractive {
  font-family: 'Poppins', 'Inter', Arial, Helvetica, sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #000000;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #00d4ff, #0064ff);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #00b8cc, #0050cc);
}

/* Animation classes */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes glow {
  0%, 100% {
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
  }
  50% {
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
  }
}

@keyframes gradient-shift {
  0% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
  100% {
    background-position: 0% center;
  }
}

/* 3D Navigation Effects */
@keyframes flip-3d {
  0% {
    transform: perspective(1000px) rotateY(-10deg);
    opacity: 0;
  }
  100% {
    transform: perspective(1000px) rotateY(0deg);
    opacity: 1;
  }
}

@keyframes rotate-3d {
  0% {
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
  }
  100% {
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
  }
}

@keyframes card-lift {
  0% {
    transform: translateY(0) translateZ(0);
  }
  50% {
    transform: translateY(-8px) translateZ(20px);
  }
  100% {
    transform: translateY(0) translateZ(0);
  }
}

@keyframes shine {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes nav-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(6, 182, 212, 0.6);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-glow {
  animation: glow 3s ease-in-out infinite;
}

.animate-3d-flip {
  animation: flip-3d 0.8s ease-out;
}

.animate-3d-rotate {
  animation: rotate-3d 4s linear infinite;
}

.animate-card-lift {
  animation: card-lift 2s ease-in-out infinite;
}

.animate-shine {
  animation: shine 3s infinite;
}

.animate-nav-glow {
  animation: nav-glow 2s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

.bg-size-200 {
  background-size: 200% 200%;
  animation: gradient-shift 6s ease infinite;
}

/* 3D Perspective Utilities */
.perspective {
  perspective: 1200px;
}

.preserve-3d {
  transform-style: preserve-3d;
}

/* Glassmorphism Effect */
.glass-effect {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-effect-strong {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Navigation Specific Styles */
nav {
  position: relative;
  z-index: 50;
}

nav::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
  z-index: 100;
}

/* WhatsApp Button - Ensure it's always visible and sticky */
div[style*="z-index: 99999"] {
  position: fixed !important;
  bottom: 32px !important;
  left: 24px !important;
  z-index: 99999 !important;
  pointer-events: auto !important;
}

div[style*="z-index: 99999"] a {
  pointer-events: auto !important;
}

/* Smooth transitions */
* {
  @apply transition-all duration-300;
}
