html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

:root {
  --pink-color: rgb(255, 159, 175);
  --pink-color-hover: rgb(251, 180, 192);
}

*,
*::before,
*::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
/* 
* {
  outline: 1px solid red;
} THIS IS FOR TESTING
*/
.fredoka {
  font-family: "Fredoka", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.60);
}

/* ******************** NAV SECTION - START ******************** */
.darkLogo {
  filter: invert(1);
}

nav a.active {
  color: #ff6f61;
  border-bottom: 3px solid #ff6f61;
}

@media (max-width: 991.98px) {
  nav a {
    padding-right: 8px !important;
  }

  nav a.active {
    border-bottom: none;
    border-right: 3px solid #ff6f61;
  }
}
/* ******************** NAV SECTION - END ******************** */

/* ******************** HEADER SECTION - START ******************** */
header {
  position: sticky;
  top: 0;
  overflow: hidden;
  z-index: 1;
}

header::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 200%;
  background: linear-gradient(to right, #a92655, #fd8d67, #a92655);
  transform: translateX(-50%);
  animation: moveGradient 12s linear infinite;
  z-index: -1;
  will-change: transform;
}

@keyframes moveGradient {
  0% {
    transform: translateX(-50%);
  }
  50% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Left Column - Start */
h1,
h1 > span {
  line-height: 0.8 !important;
}

.btn-outline-light img {
  transition: filter 0.2s ease;
}

.btn-outline-light:hover img {
  filter: brightness(0);
}

.download-btn {
  transition: transform 0.35s cubic-bezier(.4, 0, .2, 1);
}

.download-btn.is-pulsing {
  transform: scale(1.1);
}

/* Left Column - End */

/* Right Column - Start */
.phone {
  position: relative;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 384 / 799;
  filter: drop-shadow(0 0 4px black);

  transform-origin: bottom center;
  transform: translateY(40px) scale(0);
  transition: transform 1.2s ease;
}

.phone.show {
  transform: translateY(40px) scale(1);
}

.phoneCover {
  position: relative;
  width: 100%;
  z-index: 2;
  aspect-ratio: 384 / 799;
  pointer-events: none;
}

.closeButton > img {
  height: 80px;
  z-index: 0;
  aspect-ratio: 7 / 100;
}

.closeButton {
  position: absolute;
  top: 150px;
  right: -10px;
  background: none;
  border: none;
  padding: 4px 8px;

  cursor: pointer;
  z-index: 0;
  transition: right 0.2s ease;
  animation: nudge 3s ease-in-out infinite;
}

@keyframes nudge {
  0%,
  100% {
    transform: translateX(-2px);
  }
  50% {
    transform: translateX(0);
  }
}

.closeButton.clicked {
  right: -8px;
}

.pulse {
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 0, 153, 0.6);
  animation: pulse 2s ease-out infinite;
  z-index: -1;
}

@keyframes pulse {
  0% {
    transform: translateY(-50%) scale(1);
    opacity: 0.8;
  }
  100% {
    transform: translateY(-50%) scale(2.2);
    opacity: 0;
  }
}

.screens {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  height: 100%;
  aspect-ratio: 360 / 799;
  pointer-events: none;
}

.screens > img {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  aspect-ratio: 360 / 799;
}

.phoneScreenOpen {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.phoneScreenOpen.open {
  opacity: 1;
}
/* Right Column - End */
/* ******************** HEADER SECTION - END ******************** */

/* ******************** FEATURES SECTION - START ******************** */
#feature-section {
  position: relative;
  z-index: 2;
}

/* h2 and p */
.gradient-header {
  background: linear-gradient(to right, #a92655, #fd8d67);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 500% 500%;
  animation: gradientShift 6s ease infinite;
}

.willFade {
  opacity: 0;
}

.fade-scale {
  transform: scale(0.95);
  animation: fadeScale 0.8s ease forwards;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes fadeScale {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* features */
.featureItem {
  position: relative;
  opacity: 0;
  transition: opacity 0.6s ease;
  overflow: hidden;
}

.feature-icon-small {
  background: linear-gradient(to right, #a92655, #fd8d67);
  width: 3rem;
  height: 3rem;
}

.feature-icon-small > img {
  width: 36px;
  pointer-events: none;
}

.feature-pop {
  opacity: 1;
  animation: popScale 0.6s ease forwards;
}

@keyframes popScale {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
/* ******************** FEATURES SECTION - END ******************** */

/* ******************** SAFETY SECTION - START ******************** */
#safety-section {
  position: relative;
  z-index: 2;
}

.safetyIcon {
  width: 48px;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: -1;
  opacity: 0.5;
  transform: rotate(-25deg);
  filter: invert(34%) sepia(85%) saturate(2300%) hue-rotate(330deg)
    brightness(95%) contrast(105%);
  pointer-events: none;
}

/* ******************** SAFETY SECTION - END ******************** */

/* ******************** TESTIMONIALS SECTION - START ******************** */
#testimonials-section {
  position: relative;
  z-index: 2;
}

#testimonials-section img {
  pointer-events: none;
}

.brand {
  letter-spacing: .05em;
  opacity: .6;
}

.tag-list {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 96px;
  display: flex;
  align-items: center;
  border-radius: 8px;
}

.tag-track {
  display: flex;
  gap: 4rem;
  width: max-content;
  height: 64px; 
  align-items: center;
}

.tag {
  white-space: nowrap;
}

.fade-mask {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;

  background: linear-gradient(
    90deg,
    rgb(248, 249, 250) 0%,
    transparent 30%,
    transparent 70%,
    rgb(248, 249, 250) 100%
  );
}

/* ******************** TESTIMONIALS SECTION - END ******************** */

/* ******************** PRICING SECTION - START ******************** */
#pricing-section {
  position: relative;
  z-index: 2;
}

#pricing-section .card {
  transition: transform .4s ease;
}

#pricing-section .card:hover {
  transform: scale(1.02);
}

/* Overriding primary */
#pricing-section .border-primary {
  border-color: var(--pink-color) !important;
}

#pricing-section .text-bg-primary {
  background-color: var(--pink-color) !important;
}

#pricing-section .btn-outline-primary {
  border-color: var(--pink-color);
  color: var(--pink-color);
}

#pricing-section .btn-outline-primary:hover {
  background-color: var(--pink-color);
  color: white;
}

#pricing-section .btn-primary {
  background-color: var(--pink-color);
  border-color: var(--pink-color);
}

#pricing-section .btn-primary:hover {
  background-color: var(--pink-color-hover);
  border-color: var(--pink-color-hover);
}
/* ******************** PRICING SECTION - END ******************** */

/* ******************** SUPPORT SECTION - START ******************** */
.bg-info {
  background-color: rgb(121, 239, 255) !important;
}

#support-section {
  position: relative;
  z-index: 2;
}

#support-section .gradient-header {
  background: linear-gradient(to right, #26a938, #fdc367);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 500% 500%;
  animation: gradientShift 6s ease infinite;
}

#support-section .btn-primary {
  background-color: #fd6767;
  border-color: #fd6767;
}
/* ******************** SUPPORT SECTION - END ******************** */

/* ******************** FOOTER SECTION - START ******************** */
footer {
  position: relative;
  z-index: 2;
}

footer li>a:hover {
  color: black !important;
}
/* ******************** FOOTER SECTION - END ******************** */

/* ******************** REMINDER MODAL SECTION - START ******************** */
.reminder-title::after {
  content: "🐾";
  margin-left: .4rem;
}
/* ******************** REMINDER MODAL SECTION - END ******************** */