@font-face {
  font-family: "Fraunces";
  src: url("../fonts/Fraunces-VariableFont_SOFT\,WONK\,opsz\,wght.ttf")
    format("truetype");
  font-weight: 100 900;
  font-style: normal;
}

@font-face {
  font-family: "Fraunces-Italic";
  src: url("../fonts/Fraunces-Italic-VariableFont_SOFT\,WONK\,opsz\,wght.ttf")
    format("truetype");
  font-weight: 100 900;
  font-style: normal;
}

@font-face {
  font-family: "PP Mori";
  src: url("../fonts/PPMori-Extralight.otf") format("opentype");
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: "PP Mori";
  src: url("../fonts/PPMori-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "PP Mori";
  src: url("../fonts/PPMori-RegularItalic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: "PP Mori";
  src: url("../fonts/PPMori-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
}

body {
  font-family: "PP Mori", serif;
}

.overlay-hero {
  background: #1235ec;
  background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 66.83%);
}
.hero-bg {
  background-image: url("../assets/herobg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (min-width: 1024px) {
  /* lg breakpoint */
  .hero-bg {
    background-image: url("../assets/herobg.png");
    background-repeat: no-repeat;
  }
}

.shadow {
  box-shadow: 0px 9px 153px 0px #00000033;
}
.base-shadow {
  box-shadow: 0px -3.48px 5.57px 0px #00006b40 inset;

  box-shadow: 0px 5.57px 5.57px 0px #3c8affb2 inset;
}

.dashed-border {
  position: relative;
}

.dashed-border::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px; /* thickness */
  background-image: repeating-linear-gradient(
    to right,
    #41454d 0 6px,
    transparent 6px 12px
  );
  pointer-events: none;
}
.gradone {
  background: linear-gradient(180deg, rgba(2, 11, 25, 0) 0%, #020b19 100%);
}
.gradtwo {
  background: linear-gradient(180deg, rgba(2, 11, 25, 0) 0%, #020b19 65.38%);
}
.banner-bg {
  background-image: url("../assets/banner.png");
  background-size: cover;
  background-position: center;
}
.grad-bg {
  background: #1235ec;
  background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 66.83%);
}

/* ========== ANIMATION KEYFRAMES ========== */

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px); /* Bounces up by 10px */
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}

@keyframes glow {
  0%,
  100% {
    box-shadow: 0 0 5px rgba(14, 99, 244, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(14, 99, 244, 0.8), 0 0 30px rgba(14, 99, 244, 0.6);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* ========== ANIMATION CLASSES ========== */

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

.animate-glow {
  animation: glow 2s ease-in-out infinite;
}

/* Hover effects for cards */
.card-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Icon animations */
.icon-bounce {
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.icon-bounce:hover {
  transform: scale(1.2) rotate(5deg);
}

/* Button hover effects */
.btn-hover {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-hover::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-hover:hover::before {
  width: 300px;
  height: 300px;
}

.btn-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(14, 99, 244, 0.3);
}

/* Parallax effect */
.parallax {
  transition: transform 0.3s ease-out;
}

/* Scroll reveal base styles */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
}

.scroll-reveal-left {
  opacity: 0;
  transform: translateX(-30px);
}

.scroll-reveal-right {
  opacity: 0;
  transform: translateX(30px);
}

.scroll-reveal-scale {
  opacity: 0;
  transform: scale(0.9);
}

/* Stagger delays for multiple items */
.stagger-1 {
  transition-delay: 0.1s;
}
.stagger-2 {
  transition-delay: 0.2s;
}
.stagger-3 {
  transition-delay: 0.3s;
}
.stagger-4 {
  transition-delay: 0.4s;
}
.stagger-5 {
  transition-delay: 0.5s;
}
.stagger-6 {
  transition-delay: 0.6s;
}

/* Text shimmer effect */
.text-shimmer {
  background: linear-gradient(90deg, #09090b 0%, #0e63f4 50%, #09090b 100%);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
}

/* Dot pulse animation for features */
.dot-pulse {
  position: relative;
}

.dot-pulse::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: inherit;
  opacity: 0;
  animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-ring {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
}

/* Smooth transitions */
.smooth-transition {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .animate-float,
  .animate-pulse,
  .animate-glow {
    animation: none !important;
  }
}
