html {
  scroll-behavior: smooth;
}

.bg-ocean {
  background: linear-gradient(
    to right bottom,
    #0a1f2d,
    #0b2b45,
    #1a5f7a,
    #159d89,
    #38c6bd
  );
  background-attachment: fixed;
}

/* Bubble Animation */
@keyframes float {
  0% {
    transform: translateY(100vh) scale(0);
  }
  100% {
    transform: translateY(-10vh) scale(1);
  }
}

@keyframes glow {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 0.9;
  }
}

.perspective-1000 {
  perspective: 1000px;
}

.transform-style-preserve-3d {
  transform-style: preserve-3d;
}

@keyframes particle-drift {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 100px 100px;
  }
}

@keyframes trench-glow {
  0%,
  100% {
    opacity: 0.2;
    transform: translateZ(-100px) scale(1);
  }
  50% {
    opacity: 0.4;
    transform: translateZ(-100px) scale(1.05);
  }
}

.animate-particle-drift {
  animation: particle-drift 40s linear infinite;
}

.animate-trench-glow {
  animation: trench-glow 8s ease-in-out infinite;
}

.ocean-floor::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(
    to top,
    rgba(11, 43, 69, 1) 0%,
    rgba(11, 43, 69, 0.8) 30%,
    rgba(11, 43, 69, 0) 100%
  );
  z-index: 2;
}

@keyframes depth-movement {
  0% {
    transform: rotateX(75deg) translateZ(-200px) scale(2) rotate(0deg);
  }
  50% {
    transform: rotateX(75deg) translateZ(-200px) scale(2) rotate(2deg);
  }
  100% {
    transform: rotateX(75deg) translateZ(-200px) scale(2) rotate(0deg);
  }
}

.animate-particle-drift {
  animation: particle-drift 40s linear infinite,
    depth-movement 15s ease-in-out infinite;
}

.bubble {
  position: absolute;
  background: rgba(56, 198, 189, 0.08);
  border-radius: 50%;
  animation: float linear infinite;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 20px rgba(56, 198, 189, 0.1),
    0 0 40px rgba(56, 198, 189, 0.15);
  filter: drop-shadow(0 0 3px rgba(56, 198, 189, 0.3));
}

.bubble::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150%;
  height: 150%;
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    rgba(56, 198, 189, 0.2) 0%,
    rgba(56, 198, 189, 0) 70%
  );
  animation: glow 4s infinite;
}

.hero-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(
    to top,
    rgba(11, 43, 69, 1) 0%,
    rgba(11, 43, 69, 0.8) 30%,
    rgba(11, 43, 69, 0) 100%
  );
  z-index: 2;
}

::-webkit-scrollbar {
  width: 8px;
  background: #0b2b45;
}

::-webkit-scrollbar-thumb {
  background: #1a5f7a;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #159d89;
}

.pricing-card {
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
}

.sidebar {
  scrollbar-width: thin;
  scrollbar-color: #334155 #1e293b;
}
.sidebar::-webkit-scrollbar {
  width: 8px;
}
.sidebar::-webkit-scrollbar-track {
  background: #1e293b;
}
.sidebar::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}
/* .mobile-menu-active {
  right: 0 !important;
} */

.code-block {
  background-color: #1e293b;
  border: 1px solid #334155;
  position: relative;
}
.copy-success {
  color: #10b981 !important;
}

/* Custom Styles */
.sidebar.mobile-menu-active {
  right: 0;
}

@media (max-width: 1023px) {
  #mobileMenuBtn {
    top: 5rem;
    right: 1rem;
  }

  .main-content {
    padding-top: 8rem;
  }
}

.copy-success {
  stroke: #22d3ee;
  animation: bounce 0.5s;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

#version-menu {
  transition: all 0.3s ease;
  max-height: calc(100vh - 8rem);
  overflow-y: auto;
}

#version-menu::before {
  content: "";
  position: fixed;
  top: 8rem;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

@media (max-width: 1023px) {
  .main-content {
    padding-top: 12rem;
  }
}

.android-toggle-container {
  position: relative;
  margin: 2rem 0;
}
.underline-active {
  height: 3px;
  background: #06b6d4;
  position: absolute;
  bottom: -8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}
.android-button {
  background: none;
  border: none;
  color: #64748b;
  font-size: 1.125rem;
  padding: 0.5rem 1.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
  border-radius: 9999px;
}
.android-button.active {
  color: #06b6d4;
}
.underline-background {
  height: 2px;
  background: #1e293b;
  position: absolute;
  width: 100%;
  bottom: -8px;
}

.executor-loading {
  background: linear-gradient(90deg, #1e293b 25%, #334155 50%, #1e293b 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
