* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Performance optimization: GPU acceleration hints */
@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth;
  }
}

a {
  text-decoration: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* Performance optimizations */
img, video, iframe {
  max-width: 100%;
  height: auto;
}

img {
  content-visibility: auto;
}

/* Mobile touch improvements */
button, a, input, textarea, select {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* Reduce motion for accessibility and performance */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

 :root {
   --bg-start: #02000F;
   --bg-end: #0A0A0A;
   --accent-primary: 115, 0, 255;
   --accent-secondary: 136, 0, 255;
 }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: linear-gradient(to bottom, var(--bg-start) 0%, var(--bg-end) 100%);
  background-attachment: scroll;
  letter-spacing: -0.01em;
}

@media (min-width: 1024px) {
  body {
    background-attachment: fixed;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 300;
  letter-spacing: -0.02em;
}

p {
  line-height: 1.75;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

.prose {
  max-width: 65ch;
}

.prose p {
  margin-bottom: 1.5em;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
}

.prose h2 {
  font-size: 1.75em;
  font-weight: 300;
  margin-top: 2.5em;
  margin-bottom: 1em;
  color: rgba(255, 255, 255, 0.9);
}

.prose h3 {
  font-size: 1.35em;
  font-weight: 300;
  margin-top: 2em;
  margin-bottom: 0.75em;
  color: rgba(255, 255, 255, 0.8);
}

.prose ul, .prose ol {
  margin-top: 1.5em;
  margin-bottom: 1.5em;
  padding-left: 2em;
}

.prose li {
  margin-top: 0.75em;
  margin-bottom: 0.75em;
  color: rgba(255, 255, 255, 0.6);
}

.prose a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
}

.prose a:hover {
  color: rgba(255, 255, 255, 1);
}

.fade-in {
  animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.animate-slide-up {
  animation: slideUp 0.8s ease-out forwards;
  opacity: 0;
}

.animate-slide-up-delay-1 {
  animation: slideUp 0.8s ease-out 0.2s forwards;
  opacity: 0;
}

.animate-slide-up-delay-2 {
  animation: slideUp 0.8s ease-out 0.4s forwards;
  opacity: 0;
}

.animate-slide-up-delay-3 {
  animation: slideUp 0.8s ease-out 0.6s forwards;
  opacity: 0;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.animate-fade-in {
  animation: simpleFadeIn 1s ease-out forwards;
  opacity: 0;
}

.animate-fade-in-delay-1 {
  animation: simpleFadeIn 1s ease-out 0.3s forwards;
  opacity: 0;
}

.animate-fade-in-delay-2 {
  animation: simpleFadeIn 1s ease-out 0.6s forwards;
  opacity: 0;
}

@keyframes simpleFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate.is-visible {
  opacity: 1;
  transform: none;
}

.scroll-fade {
  opacity: 0;
  transition: opacity 1s ease-out;
}

.scroll-fade.is-visible {
  opacity: 1;
}

.ambient-lights {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.light {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0;
  mix-blend-mode: screen;
  will-change: transform, opacity, filter;
}

.light-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(var(--accent-primary), 0.55) 0%, rgba(var(--accent-primary), 0.28) 40%, rgba(var(--accent-secondary), 0.12) 60%, transparent 80%);
  top: 10%;
  left: 15%;
  animation: pulse1 8s ease-in-out infinite, float1 20s ease-in-out infinite;
  box-shadow: 0 0 120px rgba(var(--accent-primary), 0.35), 0 0 220px rgba(var(--accent-primary), 0.2);
}

.light-2 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(var(--accent-secondary), 0.5) 0%, rgba(var(--accent-primary), 0.22) 40%, rgba(var(--accent-secondary), 0.1) 60%, transparent 80%);
  top: 60%;
  right: 20%;
  animation: pulse2 10s ease-in-out infinite 2s, float2 18s ease-in-out infinite 1s;
  box-shadow: 0 0 140px rgba(var(--accent-secondary), 0.32), 0 0 240px rgba(var(--accent-secondary), 0.18);
}

.light-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(var(--accent-primary), 0.5) 0%, rgba(var(--accent-secondary), 0.22) 40%, rgba(var(--accent-secondary), 0.12) 60%, transparent 80%);
  bottom: 20%;
  left: 40%;
  animation: pulse3 12s ease-in-out infinite 4s, float3 22s ease-in-out infinite 2s;
  box-shadow: 0 0 120px rgba(var(--accent-primary), 0.28), 0 0 200px rgba(var(--accent-primary), 0.15);
}

.light-4 {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(var(--accent-secondary), 0.55) 0%, rgba(var(--accent-primary), 0.25) 40%, rgba(var(--accent-secondary), 0.14) 60%, transparent 80%);
  top: 40%;
  right: 10%;
  animation: pulse1 9s ease-in-out infinite 1s, float1 24s ease-in-out infinite 3s;
  box-shadow: 0 0 140px rgba(var(--accent-secondary), 0.34), 0 0 260px rgba(var(--accent-secondary), 0.2);
}

.light-5 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(var(--accent-primary), 0.52) 0%, rgba(var(--accent-primary), 0.24) 40%, rgba(var(--accent-secondary), 0.12) 60%, transparent 80%);
  bottom: 10%;
  right: 35%;
  animation: pulse2 11s ease-in-out infinite 3s, float2 19s ease-in-out infinite 4s;
  box-shadow: 0 0 120px rgba(var(--accent-primary), 0.3), 0 0 220px rgba(var(--accent-primary), 0.18);
}

.hero-top-blur {
  display: block;
  position: absolute;
  width: 1580.98px;
  height: 355.6px;
  left: -40.45px;
  top: -281px;
  background: linear-gradient(261.66deg, rgba(87, 0, 255, 0.8) 17.08%, rgba(174, 0, 255, 0.8) 81.04%);
  filter: blur(63.65px);
  opacity: 0.9;
}

.hero-top-ellipse {
  display: block;
  position: absolute;
  width: 981.61px;
  height: 175.12px;
  left: 140px;
  top: -90px;
  background: #FFFFFF;
  filter: blur(81.1px);
  opacity: 0.12;
  transform: matrix(-1, 0.04, -0.06, -1, 0, 0);
}

.hero-mid-tint {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 320px;
  background:
    radial-gradient(120% 160% at 50% 0%, rgba(174, 0, 255, 0.24) 0%, rgba(87, 0, 255, 0.14) 38%, rgba(2, 0, 15, 0) 72%),
    linear-gradient(to bottom, rgba(2, 0, 15, 0.68) 0%, rgba(24, 0, 48, 0.24) 45%, rgba(2, 0, 15, 0) 100%);
  pointer-events: none;
  opacity: 0.9;
  filter: blur(32px);
}

.hero-bg-slideshow {
  position: absolute;
  inset: 0;
  contain: layout paint;
  transform: translateZ(0);
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.03);
  animation: heroCrossfade 24s infinite;
  will-change: opacity, transform;
  backface-visibility: hidden;
}

.hero-bg-main {
  position: absolute;
  inset: 0;
  background-image: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.22;
  transform: scale(1.02);
  filter: saturate(0.9) contrast(1.08);
  pointer-events: none;
}

.hero-bg-various {
  position: absolute;
  inset: 0;
  background-image: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.02);
  filter: saturate(0.95) contrast(1.10);
  pointer-events: none;
}

.hero-bg-it {
  position: absolute;
  inset: 0;
  background-image: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.02);
  filter: saturate(0.9) contrast(1.08);
  pointer-events: none;
}

.hero-bg-1 {
  background-image: none;
  animation-delay: 0s;
}

.hero-bg-2 {
  background-image: none;
  animation-delay: 6s;
}

.hero-bg-3 {
  background-image: none;
  animation-delay: 12s;
}

.hero-bg-4 {
  background-image: none;
  animation-delay: 18s;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 700px at 30% 30%, rgba(174, 0, 255, 0.18) 0%, rgba(2, 0, 15, 0) 60%),
    radial-gradient(1000px 600px at 70% 40%, rgba(87, 0, 255, 0.16) 0%, rgba(2, 0, 15, 0) 62%),
    linear-gradient(to bottom, rgba(2, 0, 15, 0.18) 0%, rgba(2, 0, 15, 0.52) 55%, rgba(2, 0, 15, 0.86) 100%);
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-slide {
    animation: none !important;
    transform: none !important;
  }

  .animate-pulse {
    animation: none !important;
  }
}

@media (max-width: 768px) {
  .hero-bg-slide {
    animation: none;
    transform: none;
    opacity: 0;
  }

  .animate-pulse {
    animation: none !important;
  }

  .hero-bg-various {
    opacity: 0.09;
    transform: none;
  }

  .hero-bg-overlay {
    background:
      radial-gradient(900px 520px at 30% 20%, rgba(174, 0, 255, 0.14) 0%, rgba(2, 0, 15, 0) 62%),
      radial-gradient(780px 460px at 75% 30%, rgba(87, 0, 255, 0.12) 0%, rgba(2, 0, 15, 0) 64%),
      linear-gradient(to bottom, rgba(2, 0, 15, 0.28) 0%, rgba(2, 0, 15, 0.52) 55%, rgba(2, 0, 15, 0.86) 100%);
  }

  .hero-mid-tint {
    display: none;
  }

  .hero-bg-1 {
    opacity: 0.7;
  }

  .hero-top-blur {
    filter: blur(32px);
    opacity: 0.8;
  }

  .hero-top-ellipse {
    filter: blur(42px);
    opacity: 0.1;
  }

  .hero-mid-tint {
    height: 240px;
    filter: blur(16px);
    opacity: 0.75;
  }
}

@media (min-width: 769px) {
  .hero-bg-various {
    opacity: 0.16;
  }
}

@media (min-width: 769px) {
  .hero-bg-it {
    opacity: 0.18;
  }
}

.home-features-bg-image {
  position: absolute;
  inset: 0;
  background-image: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.02);
  filter: saturate(0.98) contrast(1.12);
  pointer-events: none;
}

.home-features-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 50% 35%, rgba(174, 0, 255, 0.14) 0%, rgba(2, 0, 15, 0) 62%),
    linear-gradient(to bottom, rgba(2, 0, 15, 0.70) 0%, rgba(2, 0, 15, 0.78) 55%, rgba(2, 0, 15, 0.88) 100%);
  pointer-events: none;
}

.home-creative-bg-image {
  position: absolute;
  inset: 0;
  background-image: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.02);
  filter: saturate(0.98) contrast(1.12);
  pointer-events: none;
}

.home-creative-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 50% 35%, rgba(87, 0, 255, 0.14) 0%, rgba(2, 0, 15, 0) 62%),
    linear-gradient(to bottom, rgba(2, 0, 15, 0.70) 0%, rgba(2, 0, 15, 0.78) 55%, rgba(2, 0, 15, 0.88) 100%);
  pointer-events: none;
}

.faq-bg-image {
  position: absolute;
  inset: 0;
  background-image: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.02);
  filter: saturate(0.98) contrast(1.12);
  pointer-events: none;
}

.faq-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 50% 35%, rgba(0, 220, 255, 0.10) 0%, rgba(2, 0, 15, 0) 62%),
    linear-gradient(to bottom, rgba(2, 0, 15, 0.70) 0%, rgba(2, 0, 15, 0.82) 55%, rgba(2, 0, 15, 0.92) 100%);
  pointer-events: none;
}

@media (min-width: 769px) {
  .home-features-bg-image {
    opacity: 0.16;
  }
}

@media (min-width: 769px) {
  .home-creative-bg-image {
    opacity: 0.16;
  }
}

@media (min-width: 769px) {
  .faq-bg-image {
    opacity: 0.16;
  }
}

@media (max-width: 768px) {
  .faq-bg-image {
    opacity: 0.06;
    transform: none;
  }
}

.hud-showcase-section {
  min-height: 420px;
}

.hud-showcase-bg {
  position: absolute;
  inset: 0;
  background-image: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.02);
  filter: saturate(1.1) contrast(1.05);
}

.hud-showcase-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 35% 35%, rgba(87, 0, 255, 0.18) 0%, rgba(2, 0, 15, 0) 60%),
    radial-gradient(700px 450px at 70% 40%, rgba(0, 220, 255, 0.10) 0%, rgba(2, 0, 15, 0) 62%),
    linear-gradient(to bottom, rgba(2, 0, 15, 0.65) 0%, rgba(2, 0, 15, 0.85) 60%, rgba(2, 0, 15, 0.92) 100%);
  pointer-events: none;
}

@media (max-width: 768px) {
  .hud-showcase-section {
    min-height: 320px;
  }

  .hud-showcase-bg {
    background-position: 50% 35%;
  }
}

.recruitment-showcase-section {
  min-height: 360px;
}

.recruitment-showcase-bg {
  position: absolute;
  inset: 0;
  background-image: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.02);
}

.recruitment-showcase-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 35% 35%, rgba(87, 0, 255, 0.16) 0%, rgba(2, 0, 15, 0) 60%),
    radial-gradient(700px 450px at 70% 40%, rgba(0, 220, 255, 0.08) 0%, rgba(2, 0, 15, 0) 62%),
    linear-gradient(to bottom, rgba(2, 0, 15, 0.55) 0%, rgba(2, 0, 15, 0.78) 60%, rgba(2, 0, 15, 0.9) 100%);
  pointer-events: none;
}

.services-bg-image {
  position: absolute;
  inset: 0;
  background-image: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.20;
  filter: saturate(1.00) contrast(1.10);
  transform: scale(1.02);
}

.services-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1100px 700px at 30% 30%, rgba(174, 0, 255, 0.12) 0%, rgba(2, 0, 15, 0) 60%),
    linear-gradient(to bottom, rgba(2, 0, 15, 0.25) 0%, rgba(2, 0, 15, 0.65) 65%, rgba(2, 0, 15, 0.85) 100%);
  pointer-events: none;
}

.services-top-tint {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 260px;
  background:
    radial-gradient(120% 160% at 50% 0%, rgba(174, 0, 255, 0.22) 0%, rgba(87, 0, 255, 0.14) 38%, rgba(2, 0, 15, 0) 72%),
    linear-gradient(to bottom, rgba(2, 0, 15, 0.78) 0%, rgba(24, 0, 48, 0.30) 55%, rgba(2, 0, 15, 0) 100%);
  pointer-events: none;
  opacity: 0.95;
  filter: blur(28px);
}

.projects-bg-image {
  position: absolute;
  inset: 0;
  background-image: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.20;
  filter: saturate(1.00) contrast(1.10);
  transform: scale(1.02);
}

.projects-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1100px 700px at 30% 30%, rgba(174, 0, 255, 0.12) 0%, rgba(2, 0, 15, 0) 60%),
    linear-gradient(to bottom, rgba(2, 0, 15, 0.25) 0%, rgba(2, 0, 15, 0.65) 65%, rgba(2, 0, 15, 0.85) 100%);
  pointer-events: none;
}

.contact-bg-image {
  position: absolute;
  inset: 0;
  background-image: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.20;
  filter: saturate(1.00) contrast(1.10);
  transform: scale(1.02);
}

.contact-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1100px 700px at 30% 30%, rgba(174, 0, 255, 0.12) 0%, rgba(2, 0, 15, 0) 60%),
    linear-gradient(to bottom, rgba(2, 0, 15, 0.25) 0%, rgba(2, 0, 15, 0.65) 65%, rgba(2, 0, 15, 0.85) 100%);
  pointer-events: none;
}

.about-shield-card-bg {
  position: absolute;
  inset: 0;
  background-image: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
}

.about-shield-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(2, 0, 15, 0.35) 0%, rgba(2, 0, 15, 0.75) 70%, rgba(2, 0, 15, 0.9) 100%);
  pointer-events: none;
}

.about-shield-card > *:not(.about-shield-card-bg):not(.about-shield-card-overlay) {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .recruitment-showcase-section {
    min-height: 280px;
  }

  .recruitment-showcase-bg {
    background-position: 50% 30%;
  }
}

@keyframes heroCrossfade {
  0% {
    opacity: 0.7;
    transform: scale(1.03);
  }
  25% {
    opacity: 0.7;
    transform: scale(1.06);
  }
  30% {
    opacity: 0.55;
  }
  36% {
    opacity: 0;
  }
  100% {
    opacity: 0;
    transform: scale(1.03);
  }
}

.nav-bottom-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 64px;
  pointer-events: none !important;
  z-index: 0;
  background: linear-gradient(to bottom, rgba(49, 0, 96, 0) 0%, rgba(49, 0, 96, 0.22) 65%, rgba(24, 0, 48, 0.38) 100%);
}

nav.sticky {
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.92) 0%,
    rgba(15, 23, 42, 0.78) 55%,
    rgba(15, 23, 42, 0.55) 100%
  ) !important;
  box-shadow: none !important;
}

nav.sticky > .nav-bottom-fade {
  display: none !important;
}

@media (max-width: 768px) {
  .nav-bottom-fade {
    height: 48px;
    background: linear-gradient(to bottom, rgba(49, 0, 96, 0) 0%, rgba(49, 0, 96, 0.14) 65%, rgba(24, 0, 48, 0.22) 100%);
  }

  nav.sticky {
    background: linear-gradient(
      to bottom,
      rgba(15, 23, 42, 0.88) 0%,
      rgba(15, 23, 42, 0.70) 60%,
      rgba(15, 23, 42, 0.45) 100%
    ) !important;
  }
}

nav.sticky > *:not(.nav-bottom-fade) {
  position: relative;
  z-index: 1;
}

nav.sticky > .nav-bottom-fade {
  z-index: 0;
}

/* Ensure mobile menu button is always clickable */
#mobile-menu-btn {
  position: relative;
  z-index: 100 !important;
  pointer-events: auto !important;
  cursor: pointer;
}

/* Prevent navbar background layers from blocking clicks */
nav > div:first-child {
  pointer-events: none;
}

nav a, nav button {
  pointer-events: auto;
}

@keyframes pulse1 {
  0%, 100% {
    opacity: 0.4;
    transform: scale(0.85) rotate(0deg);
    filter: blur(80px) brightness(1) hue-rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.2) rotate(5deg);
    filter: blur(120px) brightness(1.3) hue-rotate(10deg);
  }
}

@keyframes pulse2 {
  0%, 100% {
    opacity: 0.35;
    transform: scale(0.9) translateY(0) rotate(0deg);
    filter: blur(80px) brightness(0.95) hue-rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.15) translateY(-40px) rotate(-5deg);
    filter: blur(120px) brightness(1.4) hue-rotate(-10deg);
  }
}

@keyframes pulse3 {
  0%, 100% {
    opacity: 0.38;
    transform: scale(0.88) translateX(0) rotate(0deg);
    filter: blur(80px) brightness(1) hue-rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.18) translateX(40px) rotate(8deg);
    filter: blur(120px) brightness(1.35) hue-rotate(15deg);
  }
}

@keyframes float1 {
  0%, 100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(30px, -20px);
  }
  50% {
    transform: translate(-20px, -40px);
  }
  75% {
    transform: translate(-30px, 20px);
  }
}

@keyframes float2 {
  0%, 100% {
    transform: translate(0, 0);
  }
  33% {
    transform: translate(-40px, 30px);
  }
  66% {
    transform: translate(40px, -30px);
  }
}

@keyframes float3 {
  0%, 100% {
    transform: translate(0, 0);
  }
  20% {
    transform: translate(25px, 25px);
  }
  40% {
    transform: translate(-25px, 40px);
  }
  60% {
    transform: translate(-40px, -25px);
  }
  80% {
    transform: translate(40px, -40px);
  }
}

/* Mobile Responsive Optimizations */
@media (max-width: 768px) {
  /* Typography scaling for mobile */
  h1 {
    font-size: 2.5rem !important;
    line-height: 1.2 !important;
  }
  
  h2 {
    font-size: 2rem !important;
    line-height: 1.3 !important;
  }
  
  h3 {
    font-size: 1.5rem !important;
  }
  
  /* Reduce padding on mobile */
  section {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }
  
  /* Ambient lights - reduce size and blur on mobile */
  .light {
    width: 300px !important;
    height: 300px !important;
    filter: blur(60px) !important;
  }

  [class*="backdrop-blur"] {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  [class*="shadow-"] {
    box-shadow: none !important;
  }

  [class*="blur-"] {
    filter: none !important;
  }

  /* Background layers: avoid scale/filters on mobile (prevents low-quality rasterization) */
  .hero-bg-slide,
  .hero-bg-main,
  .hero-bg-various,
  .hero-bg-it,
  .services-bg-image,
  .projects-bg-image,
  .contact-bg-image,
  .about-bg-image,
  .faq-bg-image {
    transform: none !important;
    filter: none !important;
  }

  /* Better touch targets */
  button, a {
    min-height: 44px;
  }
  
  /* Improve form inputs on mobile */
  input, textarea, select {
    font-size: 16px !important;
  }
  
  /* Better spacing for cards */
  .scroll-animate {
    margin-bottom: 1rem;
  }
}

@media (max-width: 640px) {
  /* Extra small devices */
  h1 {
    font-size: 2rem !important;
  }
  
  h2 {
    font-size: 1.75rem !important;
  }
  
  /* Reduce animation intensity on small screens */
  .animate-pulse {
    animation: none !important;
  }
  
  /* Simplify background effects */
  .light {
    opacity: 0.3 !important;
  }
  
  /* Stack grid items */
  .grid {
    gap: 1rem !important;
  }
}

/* Landscape mobile optimization */
@media (max-width: 896px) and (orientation: landscape) {
  section {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  .min-h-screen {
    min-height: auto !important;
  }
}

/* Tablet optimization */
@media (min-width: 768px) and (max-width: 1024px) {
  .max-w-7xl {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  
  h1 {
    font-size: 3rem !important;
  }
  
  h2 {
    font-size: 2.5rem !important;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  /* Remove hover effects on touch devices */
  .group:hover .group-hover\:scale-110 {
    transform: scale(1) !important;
  }
  
  /* Improve button feedback */
  button:active, a:active {
    opacity: 0.8;
    transform: scale(0.98);
  }
}

/* Logo background removal */
img[src*="logo.png"] {
  mix-blend-mode: lighten;
  background: transparent !important;
  isolation: isolate;
}

/* Remove all white borders globally */
* {
  border-color: rgba(59, 130, 246, 0.2) !important;
}

button, input, textarea, select {
  border-color: rgba(59, 130, 246, 0.2) !important;
}

.border-white\/10,
.border-white\/20,
.border-white\/30 {
  border-color: rgba(59, 130, 246, 0.2) !important;
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .light {
    animation: none !important;
    filter: none !important;
    opacity: 0.15 !important;
  }
}

.figma-preview {
  position: relative;
  z-index: 10;
}

.figma-page {
  position: relative;
  width: 1512px;
  height: 1037px;
  margin: 0 auto;
  background: transparent;
}

.figma-hero-banner {
  position: relative;
  width: 1512px;
  height: 1037px;
}

.figma-hero-image {
  position: absolute;
  width: 1512px;
  height: 458px;
  left: 0px;
  top: 471px;
  background: linear-gradient(360deg, #02000F 0%, rgba(2, 0, 15, 0) 54.42%), #C4C4C4;
}

.figma-nav-bar {
  position: absolute;
  width: 1300px;
  height: 40px;
  left: 106px;
  top: 0px;
}

.figma-menu-container {
  position: absolute;
  width: 199px;
  height: 39px;
  left: 1207px;
  top: 1px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 9px;
}

.figma-sign-up-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 9px 25px;
  width: 103px;
  height: 39px;
  background: #251C63;
  border-radius: 24px;
  color: #FFFFFF;
  text-decoration: none !important;
}

.figma-login-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 9px 25px;
  width: 87px;
  height: 39px;
  background: #7300FF;
  border-radius: 24px;
  color: #FFFFFF;
  text-decoration: none !important;
}

.figma-sign-up-text,
.figma-login-text {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
}

.figma-reserve-now-container {
  position: absolute;
  width: 227px;
  height: 40px;
  left: 230px;
  top: 0px;
  border-radius: 24px;
}

.figma-reserve-now-button-container {
  position: absolute;
  left: 17px;
  top: 7px;
  width: 193px;
  height: 26px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
}

.figma-reserve-now-text {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
  color: #FFFFFF;
}

.figma-user-icons-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  width: 90px;
  height: 26px;
}

.figma-user-icon-container {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #251C63;
}

.figma-user-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
}

.figma-menu-item {
  position: absolute;
  width: 62px;
  height: 21px;
  left: 106px;
  top: 10px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 24px;
}

.figma-menu-text {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
  color: #FFFFFF;
}

.figma-menu-vector {
  width: 13px;
  height: 10px;
  border: 1px solid #7300FF;
}

.figma-hero-title {
  position: absolute;
  width: 71px;
  height: 15px;
  left: calc(50% - 71px/2 - 0.5px);
  top: 11px;
  background: #FFFFFF;
}

.figma-hero-text {
  position: absolute;
  width: 556px;
  height: 288px;
  left: calc(50% - 556px/2 - 39px);
  top: 140px;
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-weight: 300;
  font-size: 64px;
  line-height: 96px;
  color: #FFFFFF;
}

@media (max-width: 1512px) {
  .figma-page,
  .figma-hero-banner,
  .figma-hero-image {
    width: 100%;
  }

  .figma-nav-bar {
    width: calc(100% - 212px);
  }
}

/* Mobile Performance Optimizations */
@media (max-width: 768px) {
  /* Reduce animation complexity on mobile */
  .animate-pulse {
    animation-duration: 3s;
  }
  
  /* Optimize blur effects for mobile */
  .blur-3xl {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  
  /* Improve touch targets */
  button, a {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Optimize font sizes for mobile readability */
  body {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: auto;
    text-rendering: geometricPrecision;
  }

  nav {
    transform: none !important;
  }

  .scroll-animate {
    transform: none !important;
    transition: opacity 0.8s ease-out !important;
  }

  .scroll-animate.is-visible {
    transform: none !important;
  }

  .backdrop-blur-none,
  .backdrop-blur-sm,
  .backdrop-blur,
  .backdrop-blur-md,
  .backdrop-blur-lg,
  .backdrop-blur-xl,
  .backdrop-blur-2xl,
  .backdrop-blur-3xl {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .hero-bg-slideshow {
    transform: none !important;
  }

  .hero-top-blur,
  .hero-top-ellipse,
  .hero-mid-tint {
    filter: none !important;
  }

  .ambient-lights {
    display: none !important;
  }

  .light {
    display: none !important;
  }

  /* Reduce shadow complexity on mobile */
  .shadow-2xl {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  }
  
  /* Optimize gradient performance */
  .bg-gradient-to-br,
  .bg-gradient-to-r,
  .bg-gradient-to-b {
    will-change: auto;
  }
}

/* Lazy loading optimization */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* Hardware acceleration for smooth animations */
.animate-slide-up,
.animate-fade-in,
.group:hover {
  will-change: transform, opacity;
  transform: none;
  backface-visibility: visible;
}

/* Optimize scroll performance */
.overflow-hidden {
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
}

/* Mobile navigation improvements */
@media (max-width: 768px) {
  nav {
    position: sticky;
    top: 0;
    z-index: 50;
  }
  
  #mobile-menu {
    max-height: calc(100vh - 5rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Improve mobile menu performance */
  #mobile-menu.hidden {
    display: none;
    visibility: hidden;
  }
  
  #mobile-menu:not(.hidden) {
    display: block;
    visibility: visible;
  }
}

/* Reduce motion for better mobile performance */
@media (max-width: 768px) and (prefers-reduced-motion: no-preference) {
  * {
    animation-duration: 0.5s !important;
    transition-duration: 0.2s !important;
  }
}

/* Optimize background images for mobile */
@media (max-width: 768px) {
  .hero-bg-slideshow,
  .services-bg-image,
  .home-creative-bg-image,
  .home-features-bg-image,
  .faq-bg-image {
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
  }
}

/* Mobile-specific spacing adjustments */
@media (max-width: 640px) {
  section {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  
  .max-w-7xl {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Improve mobile card interactions */
@media (max-width: 768px) {
  .group:hover {
    transform: none;
  }
  
  .group:active {
    transform: scale(0.98);
    transition: transform 0.1s;
  }
}

/* Optimize grid layouts for mobile */
@media (max-width: 768px) {
  .grid {
    gap: 1rem;
  }
  
  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}
