@font-face {
  font-family: 'Gilroy';
  src: url('assets/font/Gilroy-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gilroy';
  src: url('assets/font/Gilroy-ExtraBold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --purple: #9530f6;
  --teal: #39bfad;
  --dark: #051d49;
  --white: #ffffff;
  --black: #000000;
  --text-display: clamp(2.25rem, 4vw, 3.75rem);
  --text-title: clamp(1.75rem, 3vw, 2.5rem);
  --text-body-lg: clamp(1.125rem, 1.6vw, 1.5rem);
  --text-body: clamp(1rem, 1.25vw, 1.125rem);
  --text-caption: 0.95rem;
  --image-logo-lg: clamp(200px, 28vw, 420px);
  --image-footer-logo: clamp(180px, 22vw, 280px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  min-height: 100%;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

#root,
#__next {
  isolation: isolate;
}

.text-display {
  font-size: var(--text-display);
  line-height: 1.1;
}

.text-title {
  font-size: var(--text-title);
  line-height: 1.15;
}

.text-body-lg {
  font-size: var(--text-body-lg);
  line-height: 1.55;
}

.text-body {
  font-size: var(--text-body);
  line-height: 1.6;
}

.text-caption {
  font-size: var(--text-caption);
  line-height: 1.45;
}

.image-logo-lg {
  width: var(--image-logo-lg);
  max-width: 100%;
  height: auto;
}

.image-footer-logo {
  width: var(--image-footer-logo);
  max-width: 100%;
  height: auto;
}

.interactive-card {
  transition: filter 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.interactive-card:hover {
  filter: brightness(1.06) saturate(1.05);
}

.interactive-btn {
  transition: filter 220ms ease, background-color 220ms ease, border-color 220ms ease,
    color 220ms ease;
}

.interactive-btn:hover {
  filter: brightness(1.08) saturate(1.06);
}

.hero-gradient-bg {
  background: radial-gradient(
      circle at 24% 24%,
      #a34dff 0%,
      #9530f6 26%,
      #2a1663 50%,
      #051d49 78%,
      #020b20 100%
    ),
    linear-gradient(120deg, #8d38f3 0%, #5f2fb5 34%, #2a2f8e 65%, #051d49 100%);
  background-size: 220% 220%, 220% 220%;
  animation: hero-gradient-loop 10s ease-in-out infinite alternate;
}

.carousel-section {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  width: max-content;
  animation: carousel-scroll 24s linear infinite;
}

.carousel-item {
  flex: 0 0 25vw;
  min-width: 220px;
  max-width: 340px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.carousel-image {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

@keyframes carousel-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-33.3333%);
  }
}

@keyframes hero-gradient-loop {
  0% {
    background-position: 0% 50%, 10% 50%;
  }
  100% {
    background-position: 100% 50%, 90% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .interactive-card,
  .interactive-btn {
    transition: none;
  }

  .interactive-card:hover,
  .interactive-btn:hover {
    filter: none;
  }

  .hero-gradient-bg {
    animation: none;
  }
}

