:root {
  --gradient-primary: linear-gradient(-180deg, #302245, #4a077d 50%);
  --bg-gradient: radial-gradient(circle at center, #8f37ff60, #00001000);
  --card-gradient: linear-gradient(#200c3b26, #1c0b32);
  --clr-gray: #a9a9a9;

  --transition-base: all 0.3s linear;

  --border-light: 1.06px solid #ffffff1f;
  --border-lighter: 2px solid #ffffff3d;
  --border-gradient: 2px solid #23a6f1;

  --rounded-35: 35px;
  --rounded-48: 48px;
  --rounded-24: 24px;
}

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

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  line-height: 1.4;
  color: #fff;
  background-color: #000010;
}

p:last-child {
  margin-bottom: 0;
}

ul,
li {
  list-style: none;
  padding-left: 0;
}

figure {
  margin-bottom: 0;
}

img.cover {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

img.fill {
  height: 100%;
  width: 100%;
  object-fit: fill;
}

.main-container {
  width: min(1280px, 90%);
  margin: 0 auto;
}

section {
  overflow: hidden;
}

.section-padding {
  padding: 8rem 0;
}

.hero-heading {
  font-size: clamp(40px, 4vw, 90px);
  text-align: center;
  text-transform: capitalize;
  line-height: 1.4;
}

.section-heading {
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4.8rem;
}

.section-subheading {
  padding: 1.4rem 2.4rem;
  border: 1.6px solid #ffffff1f;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 1.17px;
  text-transform: uppercase;
  background-image: linear-gradient(to right, #e964ff, #8f37ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  width: max-content;
  border-radius: var(--rounded-35);
  margin-bottom: 14px;
}

.desc {
  font-size: clamp(16px, 1.1vw, 23px);
}

.card-heading {
  font-weight: 500;
  font-size: clamp(22px, 1.8vw, 32px);
  margin-bottom: 13px;
}

.button {
  cursor: pointer;
  border: none;
  outline: none;
  white-space: nowrap;
  padding: 1.4rem 2.4rem;
  border-radius: var(--rounded-35);
}

.primary-btn {
  background-image: var(--gradient-primary);
  border: var(--border-light);
  color: #fff;
  font-size: 1.8rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 1;
  box-shadow: 0 4px 15px rgba(143, 55, 255, 0.2);
}

.primary-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.7s ease;
  z-index: -1;
}

.primary-btn:hover::before {
  left: 100%;
}

.primary-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(-45deg, #8f37ff, #e964ff, #23a6f1, #8f37ff);
  background-size: 400% 400%;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
  border-radius: var(--rounded-35);
}

.primary-btn:hover::after {
  opacity: 1;
  animation: gradientShift 3s ease infinite;
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(143, 55, 255, 0.4);
  border-color: rgba(255, 255, 255, 0.3);
}

.primary-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(143, 55, 255, 0.3);
}

/* Gradient animation */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* //////////////////// HELPER CLASSES ////////////////////// */
.gradient-text {
  background-image: linear-gradient(to right, #e964ff, #8f37ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

/* //////////////////// UTILITY CLASSES ////////////////// */
.rounded-35 {
  border-radius: var(--rounded-35);
}
.rounded-48 {
  border-radius: var(--rounded-48);
}
.rounded-24 {
  border-radius: var(--rounded-24);
}

.clr-gray {
  color: var(--clr-gray) !important;
}
.clr-yellow {
  color: #ffbe3e;
}

.card-gradient {
  background-image: var(--card-gradient);
}

.border-lite {
  border: var(--border-light);
}
.border-liter {
  border: var(--border-lighter);
}
.border-gradient {
  border: var(--border-gradient);
}

.clr-blue {
  color: #23a6f1 !important;
}

[data-animate] {
  opacity: 0;
}

[data-animate].animated {
  opacity: 1;
}

.fast-animation {
  --animate-duration: 0.5s;
}

.slow-animation {
  --animate-duration: 2s;
}

@media (min-width: 1600px) {
  html {
    font-size: 80%;
  }
}

@media (max-width: 991px) {
  .section-padding {
    padding: 4rem 0;
  }
}
