/* HeyLabs Static Site - Custom Styles */
/* These complement Tailwind CDN which cannot use @apply */

:root {
  --background: 240 50% 12%;
  --foreground: 0 0% 98%;
  --card: 240 50% 10%;
  --card-foreground: 0 0% 98%;
  --popover: 240 50% 10%;
  --popover-foreground: 0 0% 98%;
  --primary: 14 100% 57%;
  --primary-foreground: 0 0% 100%;
  --secondary: 197 100% 70%;
  --secondary-foreground: 240 33% 15%;
  --muted: 240 40% 18%;
  --muted-foreground: 240 10% 70%;
  --accent: 14 100% 57%;
  --accent-foreground: 0 0% 100%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 0 0% 98%;
  --border: 240 30% 20%;
  --input: 240 30% 18%;
  --ring: 14 100% 57%;
  --radius: 0.625rem;
}

/* Base */
* {
  border-color: hsl(var(--border));
}

html {
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(180deg, #0a0a2e 0%, #0d0d3a 50%, #0a0a2e 100%);
  color: white;
  font-family: 'Montserrat', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Custom Utilities */
.text-gradient {
  background: linear-gradient(to right, #FF5722, #66CCFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-orange {
  background: linear-gradient(to right, #FF5722, #facc15);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
}

.section-padding {
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .section-padding {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .section-padding {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
@media (min-width: 1280px) {
  .section-padding {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}
@media (min-width: 1536px) {
  .section-padding {
    padding-left: 6rem;
    padding-right: 6rem;
  }
}

.hover-lift {
  transition: all 0.3s ease;
}
.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0a0a2e;
}
::-webkit-scrollbar-thumb {
  background: #FF5722;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #ff784e;
}

/* Sliding banner animation */
@keyframes slide-left-to-right {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}
.animate-slide-banner {
  animation: slide-left-to-right 30s linear infinite;
}
.animate-slide-banner:hover {
  animation-play-state: paused;
}

@keyframes slide-right-to-left {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0%); }
}
.animate-slide-banner-reverse {
  animation: slide-right-to-left 30s linear infinite;
}
.animate-slide-banner-reverse:hover {
  animation-play-state: paused;
}

/* Marquee */
@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}
.animate-marquee {
  animation: marquee 35s linear infinite;
}

/* Selection */
::selection {
  background: rgba(255, 87, 34, 0.3);
  color: white;
}

/* Scroll animations (used with IntersectionObserver) */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}
[data-animate-left] {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
[data-animate-left].visible {
  opacity: 1;
  transform: translateX(0);
}
[data-animate-right] {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
[data-animate-right].visible {
  opacity: 1;
  transform: translateX(0);
}

/* Form styling for native select */
select.form-select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 0.5rem;
  padding: 0.625rem 0.75rem;
  width: 100%;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23ffffff50' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
}
select.form-select:focus {
  outline: none;
  border-color: #FF5722;
  box-shadow: 0 0 0 2px rgba(255, 87, 34, 0.2);
}
select.form-select option {
  background: #0a0a2e;
  color: white;
}
