/* Custom Styling for SPEC RISE */

/* Cyber Grid Background effect */
.cyber-grid {
  background-image: 
    linear-gradient(to right, rgba(0, 229, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 229, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, #000 70%, transparent 100%);
}

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

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

::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 9999px;
  border: 2px solid #050914;
}

::-webkit-scrollbar-thumb:hover {
  background: #00e5ff;
}

/* Hero Text Glow */
.hero-glow {
  text-shadow: 0 0 40px rgba(0, 229, 255, 0.45);
}

/* Active Nav state */
.active-nav {
  color: #00e5ff !important;
  font-weight: 700;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Brand pill hover active */
.brand-pill {
  transition: all 0.25s ease-in-out;
}

.brand-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(0, 229, 255, 0.15);
}

/* Phone Mockup Subtle Shimmer */
@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.05);
  }
}

.pulse-glow {
  animation: pulseGlow 4s infinite ease-in-out;
}

/* Floating 3D Device Animation */
@keyframes floatPhone {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}

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

/* Rotating Cyber Ring */
@keyframes rotateRing {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.animate-spin-slow {
  animation: rotateRing 20s linear infinite;
}

.animate-spin-reverse-slow {
  animation: rotateRing 28s linear infinite reverse;
}

/* Select Dropdown Dark Mode Fix (Ensure option text and background are dark with high contrast) */
select {
  color-scheme: dark;
}

select option {
  background-color: #0b1325 !important;
  color: #f8fafc !important;
  padding: 12px 14px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

select option:checked,
select option:hover,
select option:focus {
  background-color: #0284c7 !important;
  color: #ffffff !important;
}

