body {
  font-family: "Inter Tight", sans-serif;
}

html {
  scroll-behavior: smooth;
}

button:hover,
a:hover {
  cursor: pointer;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  display: none !important;
}

#activeTab {
  color: black;
  font-weight: 600;
  font-weight: bold;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

#videoContainer {
  position: sticky;
  top: 80px;
  height: calc(100vh - 100px);
  max-height: 600px;
}

#videoContainer video {
  width: 100%;
  height: 100%;
  border-radius: 1rem;
}

#textContainer {
  height: auto;
  overflow-y: hidden;
}

#textContainer.scroll-active {
  overflow-y: auto;
}

body.features-scrolling {
  overflow: hidden;
}

.mySwiper .swiper-slide {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* keep content stacked from top */
}

.swiper-button-next,
.swiper-button-prev {
  width: 2rem !important;
  height: 2rem !important;
  border-radius: 9999px !important;
  background-color: black !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: white !important;
  position: absolute !important;
  top: 35% !important;
}

.swiper-button-next {
  right: 0% !important;
}

.swiper-button-prev {
  left: 0% !important;
}

@media (max-width: 1279px) {
  .custom-shift {
    right: -11% !important;
  }
}

@media (max-width: 1024px) {
  .swiper-button-next,
  .swiper-button-prev {
    top: 30% !important;
  }
}

/* Popup animation + safe bottom area for phones with gesture bars */
@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
#app-install-popup {
  animation: slideUp 280ms cubic-bezier(0.22, 0.98, 0.6, 1) both;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  /* respect bottom safe-area on iPhones */
  padding-bottom: calc(env(safe-area-inset-bottom) + 12px);
}
/* small hit-target for the X button */
#app-install-popup button#close-popup {
  line-height: 0;
}

/* ANIMATION CSS */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in-up-img {
  from {
    opacity: 0;
    transform: translateY(600px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in-right {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes phone-float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes float-1 {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-15px) rotate(5deg);
  }
  66% {
    transform: translateY(-5px) rotate(-3deg);
  }
}

@keyframes float-2 {
  0%,
  100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.05);
  }
}

@keyframes float-3 {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-8px) rotate(2deg);
  }
  50% {
    transform: translateY(-15px) rotate(-1deg);
  }
  75% {
    transform: translateY(-5px) rotate(1deg);
  }
}

@keyframes particle-1 {
  0%,
  100% {
    transform: translateY(0px) translateX(0px);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-30px) translateX(10px);
    opacity: 0.3;
  }
}

@keyframes particle-2 {
  0%,
  100% {
    transform: translateY(0px) translateX(0px);
    opacity: 0.4;
  }
  33% {
    transform: translateY(-20px) translateX(-15px);
    opacity: 0.7;
  }
  66% {
    transform: translateY(10px) translateX(5px);
    opacity: 0.2;
  }
}

@keyframes particle-3 {
  0%,
  100% {
    transform: translateY(0px) translateX(0px) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translateY(-25px) translateX(-10px) scale(1.2);
    opacity: 0.8;
  }
}

@keyframes gradient-x {
  0%,
  100% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(100%);
  }
}

.animate-fade-in-up {
  animation: fade-in-up 0.8s ease-out forwards;
}

.animate-fade-in-up-img {
  animation: fade-in-up 0.8s ease-out forwards;
}

.animate-fade-in-right {
  animation: fade-in-right 0.8s ease-out forwards;
}

.animate-fade-in {
  animation: fade-in 0.8s ease-out forwards;
}

.animate-slide-up {
  animation: slide-up 0.6s ease-out forwards;
  opacity: 0;
}

.animate-phone-float {
  animation: phone-float 4s ease-in-out infinite;
}

.animate-float-1 {
  animation: float-1 6s ease-in-out infinite;
}

.animate-float-2 {
  animation: float-2 4s ease-in-out infinite;
}

.animate-float-3 {
  animation: float-3 8s ease-in-out infinite;
}

.animate-particle-1 {
  animation: particle-1 5s ease-in-out infinite;
}

.animate-particle-2 {
  animation: particle-2 7s ease-in-out infinite;
}

.animate-particle-3 {
  animation: particle-3 6s ease-in-out infinite;
}

.animate-gradient-x {
  animation: gradient-x 15s ease infinite;
}

.animate-text-reveal {
  overflow: hidden;
}
