@theme {
  --color-deep: #050816;
  --color-navy: #0b1220;
  --color-cyan: #00f0ff;
  --color-electric: #0070f3;
  --color-purple: #8a2be2;

  --animate-float: float 8s ease-in-out infinite;
  --animate-pulse-glow: pulse-glow 3.5s ease-in-out infinite;
  --animate-shimmer: shimmer 2.5s linear infinite;
  --animate-orbit: orbit 40s linear infinite;

  @keyframes float {

    0%,
    100% {
      transform: translateY(0);
    }

    50% {
      transform: translateY(-12px);
    }
  }

  @keyframes pulse-glow {

    0%,
    100% {
      box-shadow: 0 0 20px rgba(0, 240, 255, 0.25), 0 0 40px rgba(138, 43, 226, 0.15);
    }

    50% {
      box-shadow: 0 0 60px rgba(0, 240, 255, 0.35), 0 0 100px rgba(138, 43, 226, 0.25);
    }
  }

  @keyframes shimmer {
    from {
      background-position: -200% 0;
    }

    to {
      background-position: 200% 0;
    }
  }

  @keyframes orbit {
    from {
      transform: rotate(0deg) translateX(150px) rotate(0deg);
    }

    to {
      transform: rotate(360deg) translateX(150px) rotate(-360deg);
    }
  }
}

@layer base {
  :root {
    --gradient-text: linear-gradient(135deg, #00f0ff, #fff 50%, #8a2be2);
  }

  html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  body {
    background-color: #050816;
    color: #f7f9ff;
    overflow-x: hidden;
    font-size: 16px;
    line-height: 1.7;
    font-family: 'Inter', sans-serif;
  }

  ::selection {
    background: rgba(0, 240, 255, 0.3);
    color: #fff;
  }
}

@layer components {
  .gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: textGradient 10s linear infinite;
  }

  @keyframes textGradient {
    to {
      background-position: 200% center;
    }
  }

  .glass-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .glass-panel:hover {
    border-color: rgba(0, 240, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 30px 80px rgba(0, 240, 255, 0.1);
  }

  .section-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: #00f0ff;
    opacity: 0.8;
    display: inline-block;
  }

  .shimmer-placeholder {
    background: linear-gradient(90deg, #121826 25%, #1a2235 50%, #121826 75%);
    background-size: 200% 100%;
    animation: shimmer 2.5s infinite;
  }

  /* Scroll Reveal Animations */
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }

  .reveal.active {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }

  .reveal-left.active {
    opacity: 1;
    transform: translateX(0);
  }

  .reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }

  .reveal-right.active {
    opacity: 1;
    transform: translateX(0);
  }

  .delay-100 {
    transition-delay: 100ms;
  }

  .delay-200 {
    transition-delay: 200ms;
  }

  .delay-300 {
    transition-delay: 300ms;
  }

  .delay-400 {
    transition-delay: 400ms;
  }

  .animate-slider {
    animation: scroll_marquee 40s linear infinite;
    display: flex;
    width: max-content;
  }

  .animate-slider:hover {
    animation-play-state: paused;
  }

  .animate-slider-slow {
    animation: scroll_marquee 60s linear infinite;
    display: flex;
    width: max-content;
  }

  .animate-slider-slow:hover {
    animation-play-state: paused;
  }

  @keyframes scroll_marquee {
    0% {
      transform: translateX(0);
    }

    100% {
      transform: translateX(-50%);
    }
  }
}

@layer utilities {
  .bg-grid-white {
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
  }
}