/* Shared site styles (moved from inline <style> blocks) */

body {
  font-family: "Nunito", sans-serif;
}

/* Custom cursor (desktop only) */
@media (min-width: 1024px) {
  body {
    cursor: none;
  }

  .custom-cursor {
    display: block;
  }
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.9); /* slate-400 */
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale(0.9);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.custom-cursor::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  border: 2px solid rgba(148, 163, 184, 0.6);
  opacity: 0;
  transform: scale(0.6);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    border-color 0.25s ease;
}

.custom-cursor.cursor-hidden {
  opacity: 0;
}

.custom-cursor.cursor-visible {
  opacity: 1;
}

.custom-cursor.cursor-link-hover {
  transform: translate3d(-50%, -50%, 0) scale(1.2);
  background: rgba(45, 212, 191, 0.95); /* secondary */
}

.custom-cursor.cursor-link-hover::after {
  opacity: 1;
  transform: scale(1.4);
  border-color: rgba(45, 212, 191, 0.8);
}

.btn-primary {
  background: linear-gradient(135deg, #0A2540 0%, #1e3a5f 100%);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-secondary {
  background: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 100%);
  transition: all 0.3s ease;
}

.text-gradient-cyan {
  background: linear-gradient(to right, #2dd4bf, #14b8a6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Scroll Animations */
.scroll-section {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.9s cubic-bezier(0.19, 1, 0.22, 1);
}

.scroll-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-up {
  opacity: 0;
  transform: translateY(70px);
  transition: all 0.9s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-blur {
  opacity: 0;
  filter: blur(10px);
  transition: all 1s ease-out;
}

.reveal-blur.is-visible {
  opacity: 1;
  filter: blur(0);
}

/* Landing/About additional helpers */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}
.animate-float { animation: float 3s ease-in-out infinite; }

@keyframes slide-in-left {
  from { opacity: 0; transform: translateX(-80px); }
  to { opacity: 1; transform: translateX(0); }
}
.animate-slide-in-left { animation: slide-in-left 1s ease-out forwards; }

@keyframes slide-in-right {
  from { opacity: 0; transform: translateX(80px); }
  to { opacity: 1; transform: translateX(0); }
}
.animate-slide-in-right { animation: slide-in-right 1s ease-out forwards; }

/* Landing-style gradient animation */
@keyframes gradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.animate-gradient { background-size: 200% 200%; animation: gradient 3s ease infinite; }

@keyframes progress {
  from { width: 0%; }
  to { width: 87%; }
}
.animate-progress { animation: progress 2s ease-out; }

@keyframes scroll-dot {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}
.animate-scroll-dot { animation: scroll-dot 1.5s ease-in-out infinite; }

/* Delays used by hero animations (slower, more cinematic; start hidden until played) */
.delay-100 { animation-delay: 0.35s; opacity: 0; animation-fill-mode: forwards; }
.delay-200 { animation-delay: 0.7s; opacity: 0; animation-fill-mode: forwards; }
.delay-300 { animation-delay: 1.05s; opacity: 0; animation-fill-mode: forwards; }
.delay-400 { animation-delay: 1.4s; opacity: 0; animation-fill-mode: forwards; }

/* Longer delays (used by float/pulse elements) */
.delay-1000 { animation-delay: 1.25s; }
.delay-2000 { animation-delay: 2.5s; }
.delay-3000 { animation-delay: 3.75s; }

/* Micro-interactions specific to landing hero */
.lp-hero-cta-primary {
  position: relative;
  overflow: hidden;
  transform-origin: center center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lp-hero-cta-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.25), transparent 55%);
  opacity: 0;
  transform: translateX(-40%);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.lp-hero-cta-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 18px 45px rgba(45, 212, 191, 0.45);
}

.lp-hero-cta-primary:hover::after {
  opacity: 1;
  transform: translateX(30%);
}

.lp-hero-main-card {
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.5s ease;
  transform-origin: center center;
}

.lp-hero-main-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.7);
}

.floating-get-started-cta {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 82;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3rem;
  padding: 0.75rem 1.15rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.80rem;
  line-height: 1;
  letter-spacing: 0.01em;
  font-weight: 700;
  color: #0A2540;
  background: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 100%);
  text-decoration: none;
  box-shadow:
      0 8px 18px rgba(10, 37, 64, 0.18),
      0 2px 6px rgba(20, 184, 166, 0.22),
      0 0 26px rgba(20, 184, 166, 0.18);
  transition: transform 200ms ease, box-shadow 200ms ease, filter 200ms ease;
  animation: ctaBreathe 4.2s ease-in-out infinite;
}

.floating-get-started-cta::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 9999px;
  border: 1px solid rgba(45, 212, 191, 0.46);
  pointer-events: none;
  opacity: 0;
  animation: ctaSoftRing 3.8s ease-out infinite;
  z-index: -1;
}

/* Visible animated waves behind the CTA (premium ripple). */
.floating-get-started-cta::after {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;

  background:
      radial-gradient(circle at center,
          rgba(26, 191, 170, 0.34) 0%,
          rgba(26, 191, 170, 0.18) 28%,
          rgba(26, 191, 170, 0.10) 45%,
          rgba(26, 191, 170, 0.00) 70%);

  opacity: 0;
  filter: blur(0.2px);
  animation: ctaWaves 2.6s ease-out infinite;
}

.floating-get-started-cta:hover::after {
  opacity: 1;
}

.floating-get-started-cta .cta-icon {
  font-size: 1rem;
  transform: translateX(0);
  transition: transform 180ms ease;
}

.floating-get-started-cta:hover {
  transform: translateY(-2px);
  filter: saturate(1.02);
  box-shadow:
      0 12px 24px rgba(10, 37, 64, 0.22),
      0 3px 10px rgba(20, 184, 166, 0.28),
      0 0 34px rgba(20, 184, 166, 0.22);
}

.floating-get-started-cta:hover .cta-icon {
  transform: translateX(1px);
}

.floating-get-started-cta:active {
  transform: translateY(0);
  box-shadow:
      0 5px 12px rgba(10, 37, 64, 0.2),
      0 1px 4px rgba(20, 184, 166, 0.2);
}

.floating-get-started-cta:focus-visible {
  outline: 3px solid rgba(10, 37, 64, 0.35);
  outline-offset: 2px;
}

@keyframes ctaBreathe {
  0%,
  100% {
      box-shadow:
          0 8px 18px rgba(10, 37, 64, 0.18),
          0 2px 6px rgba(20, 184, 166, 0.22),
          0 0 26px rgba(20, 184, 166, 0.18);
  }

  50% {
      box-shadow:
          0 10px 22px rgba(10, 37, 64, 0.2),
          0 3px 8px rgba(20, 184, 166, 0.26),
          0 0 30px rgba(20, 184, 166, 0.22);
  }
}

@keyframes ctaSoftRing {
  0% {
      transform: scale(0.95);
      opacity: 0.4;
  }

  100% {
      transform: scale(1.2);
      opacity: 0;
  }
}

@keyframes ctaWaves {
  0% {
      transform: scale(0.92);
      opacity: 0.95;
  }

  55% {
      opacity: 0.45;
  }

  100% {
      transform: scale(1.22);
      opacity: 0.25;
  }
}

@media (min-width: 1024px) {
  .floating-get-started-cta {
      right: max(1.5rem, env(safe-area-inset-right));
      bottom: max(1.5rem, env(safe-area-inset-bottom));
      padding: 0.8rem 1.3rem;
  }
}

@media (max-width: 768px) {
  .floating-get-started-cta {
      right: max(0.875rem, env(safe-area-inset-right));
      bottom: max(0.875rem, env(safe-area-inset-bottom));
      min-height: 2.75rem;
      font-size: 0.9rem;
      padding: 0.72rem 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-get-started-cta,
  .floating-get-started-cta::before,
  .floating-get-started-cta .cta-icon {
      animation: none;
      transition: none;
  }
}