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

/* Gradient Text Utilities */
.text-gradient-primary {
  background: linear-gradient(to right, #10b981, #06b6d4, #6366f1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.text-gradient-subtle {
  background: linear-gradient(to right, #1f2937, #4b5563);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.text-gradient-accent {
  background: linear-gradient(to right, #22c55e, #7bc4a0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Ensure gradient backgrounds work properly */
.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

/* Button gradient backgrounds - ensure text is visible */
.btn-primary {
  background: linear-gradient(to right, #7bc4a0, #0d9488);
  color: #ffffff !important;
}

.btn-primary:hover {
  background: linear-gradient(to right, #5eb38c, #0f766e);
}

/* Fix for gradient text when using Tailwind classes */
.bg-clip-text {
  -webkit-background-clip: text;
  background-clip: text;
}

.text-transparent {
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Hero Animation - Option 7: Sequential with Rotating Borders & Pulsing Circles */

/* Text Fade-in Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

.animation-delay-100 {
  animation-delay: 0.1s;
}

.animation-delay-300 {
  animation-delay: 0.3s;
}

.animation-delay-500 {
  animation-delay: 0.5s;
}

.animation-delay-700 {
  animation-delay: 0.7s;
}

/* Rotating Borders (Phase 1 & 2) */
.hero-border {
  position: absolute;
  border-radius: 50%;
  border-width: 3px;
  border-style: dashed;
  opacity: 0;
  will-change: opacity, transform;
  filter: drop-shadow(0 0 12px rgba(59, 130, 246, 0.4));
}

.hero-border-outer {
  width: 700px;
  height: 700px;
  border-image: linear-gradient(45deg, #3b82f6, #2563eb) 1;
  animation: rotate-slow 25s linear infinite;
}

.hero-border-middle {
  width: 550px;
  height: 550px;
  border-image: linear-gradient(45deg, #0ea5e9, #0284c7) 1;
  animation: rotate-medium 18.75s linear infinite reverse;
}

.hero-border-inner {
  width: 400px;
  height: 400px;
  border-image: linear-gradient(45deg, #06b6d4, #0891b2) 1;
  animation: rotate-fast 12.5s linear infinite;
}

@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotate-medium {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotate-fast {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Pulsing Circles (Phase 3) */
.hero-pulse-container {
  z-index: 1;
}

.hero-pulse-circle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, rgba(6, 182, 212, 0.2) 50%, rgba(99, 102, 241, 0.15) 100%);
  border: 2px solid rgba(16, 185, 129, 0.25);
  opacity: 0;
  will-change: transform, opacity;
}

@keyframes pulse-circle {
  0%, 100% {
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0.3;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.05);
    opacity: 0.5;
  }
}
