/* Non-critical Landing Page Styles - Below the Fold Only */

/* Animated floating orbs - deferred for mobile */
@media (min-width: 768px) {
  .floating-glass-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(0.5px);
    opacity: 0.8;
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
  }

  .floating-glass-orb-1 {
    top: 15%;
    left: 10%;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, 
      rgba(26, 188, 156, 0.5) 0%, 
      rgba(16, 185, 129, 0.35) 50%,
      rgba(0, 164, 189, 0.2) 80%, 
      transparent 100%
    );
    animation-delay: 0s;
    z-index: 1;
  }

  .floating-glass-orb-2 {
    top: 30%;
    right: 15%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, 
      rgba(16, 185, 129, 0.35) 0%, 
      rgba(26, 188, 156, 0.25) 40%,
      rgba(0, 164, 189, 0.18) 80%, 
      transparent 100%
    );
    animation-delay: 2s;
    z-index: 1;
  }

  .floating-glass-orb-3 {
    bottom: 25%;
    left: 18%;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, 
      rgba(26, 188, 156, 0.3) 0%, 
      rgba(16, 185, 129, 0.2) 40%,
      rgba(5, 150, 105, 0.15) 70%,
      transparent 100%
    );
    animation-delay: 4s;
    z-index: 1;
  }

  .floating-glass-orb-4 {
    top: 60%;
    right: 8%;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, 
      rgba(5, 150, 105, 0.15) 0%, 
      rgba(26, 188, 156, 0.1) 50%,
      rgba(16, 185, 129, 0.06) 80%,
      transparent 100%
    );
    animation-delay: 1s;
    z-index: 1;
  }

  .floating-glass-orb-5 {
    top: 45%;
    left: 5%;
    width: 90px;
    height: 90px;
    background: radial-gradient(circle, 
      rgba(16, 185, 129, 0.2) 0%, 
      rgba(5, 150, 105, 0.12) 60%,
      transparent 100%
    );
    animation-delay: 3s;
    z-index: 1;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-20px) scale(1.05);
    opacity: 1;
  }
}

/* Enhanced gradient text with glass effect */
.glass-gradient-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, 
    rgba(26, 188, 156, 0.3) 0%, 
    rgba(0, 164, 189, 0.3) 35%, 
    rgba(51, 71, 91, 0.3) 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: blur(1px);
  z-index: -1;
}

/* Animated gradient borders for premium feel */
.glass-border-animation {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
  border-radius: 16px;
}

.glass-border-animation::before {
  content: '';
  position: absolute;
  inset: -1px;
  padding: 1px;
  background: linear-gradient(135deg, 
    rgba(26, 188, 156, 0.4) 0%,
    rgba(0, 164, 189, 0.3) 25%,
    rgba(51, 71, 91, 0.2) 50%,
    rgba(26, 188, 156, 0.4) 75%,
    rgba(0, 164, 189, 0.3) 100%
  );
  border-radius: inherit;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  -webkit-mask-composite: xor;
  animation: borderRotate 3s linear infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes borderRotate {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

/* Subtle parallax effect for glass elements */
.glass-parallax {
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
}

.glass-parallax:hover {
  transform: translateZ(10px) scale(1.02);
}

/* Progress indicator glass styling */
.glass-progress-step {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(26, 188, 156, 0.2);
  box-shadow: 
    0 4px 12px rgba(26, 188, 156, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.glass-progress-step.active {
  background: linear-gradient(135deg, 
    rgba(26, 188, 156, 0.9) 0%, 
    rgba(0, 164, 189, 0.9) 100%
  );
  color: white;
  box-shadow: 
    0 6px 16px rgba(26, 188, 156, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.glass-success-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 
    0 12px 40px rgba(26, 188, 156, 0.12),
    0 6px 20px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* Form input styling for landing page */
.form-input-lg {
  height: 2.75rem !important;
  padding: 0.75rem 1rem !important;
  font-size: 1rem !important;
  border: 1px solid rgba(26, 188, 156, 0.2) !important;
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border-radius: 0.5rem !important;
  transition: all 0.2s ease !important;
  width: 100% !important;
  outline: none !important;
  color: #1e293b !important;
  z-index: 10;
  position: relative;
  pointer-events: auto !important;
  cursor: text !important;
}

.form-input-lg:focus {
  border-color: #1abc9c !important;
  box-shadow: 0 0 0 3px rgba(26, 188, 156, 0.1) !important;
  background: rgba(255, 255, 255, 0.95) !important;
  outline: none !important;
}

.form-input-lg::placeholder {
  color: rgba(100, 116, 139, 0.7) !important;
}

.form-input-lg:hover:not(:focus) {
  border-color: rgba(26, 188, 156, 0.3) !important;
}

/* Ensure glass card doesn't block inputs */
.glass-card * {
  position: relative;
  z-index: 1;
}

/* Fix for all form elements in glass card */
.glass-card input,
.glass-card textarea,
.glass-card select,
.glass-card button {
  position: relative;
  z-index: 30;
  pointer-events: auto !important;
}

/* Textarea specific styles for landing page */
.glass-card textarea {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  cursor: text !important;
}

/* Select dropdown styles */
.glass-card [role="combobox"],
.glass-card [data-slot="trigger"] {
  pointer-events: auto !important;
  cursor: pointer !important;
  z-index: 30;
}