html{
  scroll-behavior: smooth;
}

body {
    background-color: var(--background);
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items:center;
    background: linear-gradient(100deg, var(--background) 0%, hsl(0, 82%, 8%) 50%, var(--background) 100%);
  
}


nav{
  width:100%;
  height:50px;
  background-color: var(--navBackground);
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:space-between;
}

#nav-logo{
  height:50px;
}

#nav-header{
  display:flex;
  flex-direction:row;
  gap:10px;
  margin-left:20px;
  text-decoration:none;
  justify-content:center;
  align-items:center;

}

#nav-header-title{
  color:var(--navLabel);
  font-family: var(--universalFont2);
}

#nav-header-login{
  text-decoration:none;
  margin-right:20px;
/*   font-weight:bold; */
}

.nav-button{
  color:var(--navLabel);
  font-family: var(--universalFont);
  font-size: 14px;
}


.button-primary {
    background-color: var(--accentColor);
    color: var(--navLabel);
    border-radius: var(--universalRoundedCorners);
    border: solid 1px var(--accentColor);
    padding: 5px 10px;
    font-family: var(--universalFont);
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.1s;
    height: 25px;
    display:flex;
    align-items:center;
    text-decoration:none;

}

.button-secondary {
    background-color: transparent;
    color: var(--accentColor);
    border-radius: var(--universalRoundedCorners);
    border: solid 1px var(--accentColor);
    padding: 10px 15px;
    font-family: var(--universalFont);
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.1s;
    height: auto;
    min-height: 25px;
    display:flex;
    align-items:center;
}

.button-primary:not(.button-disabled):hover {
    background-color: var(--accentColor);
    color: var(--navLabel);
    transition: background-color 0.1s;
}

.button-secondary:not(.button-disabled):hover {
    background-color: var(--accentColor);
    color: var(--navLabel);
    transition: background-color 0.1s;
}

.button-rounded {
    border-radius: 50%;
    aspect-ratio: 1/1;
    padding: 0
}

.button-size-hover:not(.button-disabled):hover {
    font-size: 12px;
    transition: font-size 0.1s;
}

.button-secondary.button-disabled {
    border-color: var(--buttonDisabled);
    color: var(--buttonDisabled);
    cursor: default;
}


#cta-container{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  font-family:var(--universalFont);
  color:var(--navLabel);
  padding:0 1.5rem;
  text-align:center;
  margin:auto;
  margin-top:80px;
  max-width:48rem;
  text-decoration: none;
}

#cta-primary-header{
  font-family:var(--universalFont);
  color:var(--primaryLabel);
  font-size:2.7rem;
  line-height:1.07;
}

#cta-description{
  font-family:var(--universalFont2);
  margin-top:1rem;
  font-size:1.125rem;

}


#intro::before {
  content: '';
  position: absolute;
  margin-top:-40px;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%; /* Control the width of the border */
  font-family:var(--universalFont2);
  border-top: 1px solid var(--tableBorder); /* Color of the border */
}


#cta-button{
  margin-top:2.5rem;
  display:flex;
  justify-content:center;
  align-items:center;
  text-decoration: none;
}

#learn-more{
  margin-top:2.5rem;
  display:flex;
  justify-content:center;
  align-items:center;
}

#learn-more a{
  text-decoration:none;
  color:var(--primaryLabel);
  font-family:var(--universalFont);
  font-size:.875rem;
  text-align: center;
  transition:transform .5s

}



#learn-more span{
  transition:all .5s
}

#learn-more:hover span{
  transform: translateY(10px);
  transition:all .5s
}

#example-app{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  font-family:var(--universalFont);
  color:var(--navLabel);
  text-align:center;
  margin: 80px 20px 0 20px;
  max-width:100%;
  text-decoration: none;
  overflow:hidden;
  border:solid 1px var(--tableBorder);
  border-radius:var(--universalRoundedCorners);
  box-shadow: 0px 0px 80px 10px rgba(0,0,0,0.67);
  -webkit-box-shadow: -0px 0px 80px 10px rgba(0,0,0,0.67);
  -moz-box-shadow: 0px 0px 80px 10px rgba(0,0,0,0.67);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
}

#example-app img{
  width:100%;
  height:100%;
  /* border:solid 1px var(--tableBorder); */
  border-radius:var(--universalRoundedCorners)
}

.info-section{
  display:flex;
  flex-direction:row;
  justify-content:center;
  gap:40px;
  align-items:flex-start;
  padding:20px;
  max-width:80rem;

  font-family:var(--universalFont);
  color:var(--navLabel);
  margin: 80px 20px 20px 0;
  text-decoration: none;
}

.section-header{
  font-family:var(--universalFont2);
  color:var(--primaryLabel);
  font-size:1.8rem;
  font-weight:bold;
  line-height:1.07;
}

.section-desc{
  font-family:var(--universalFont2);
  margin-top:1rem;
  color:var(--secondaryLabel);
  font-size:1rem;
}

.example-section{
  background:var(--navBackground);
  border:solid 1px var(--tableBorder);
  border-radius:var(--universalRoundedCorners);
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  padding:20px;
  gap:20px;
  flex: 1 1 300px; /* Prevents growing, allows shrinking, and sets a base width */
}

.example-header{
  font-family:var(--universalFont2);
  color:var(--primaryLabel);
  font-size:1rem;
  line-height:1.07;
  margin:0;
}

.example-desc{
  font-family:var(--universalFont2);
  margin-top:1rem;
  color:var(--secondaryLabel);
  font-size:.875rem;
  margin:0;
  white-space: normal; /* Ensures text can wrap */
  word-wrap: break-word; /* Breaks long words if necessary */
  overflow-wrap: anywhere
}

.example-img{
  width:100%;
  height:100%;
  border-radius:var(--universalRoundedCorners);
  margin:auto;
  margin-top:1rem;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
  mask-size: 100% 100%;
  mask-repeat: no-repeat;

  /* For WebKit-based browsers (Chrome, Safari, Edge) */
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  object-fit:contain;
  max-height:350px;
}

#examples-section{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-around;
  max-width:80rem;
  gap:2rem;
  padding:20px;
}

@media only screen and (max-width: 600px) {

    .info-section{
      flex-direction:column;
      gap:20px;
    }

    nav{
      justify-content:center;
      height:60px;
    }

    .section-header{
      text-align: center;
    }

    .section-desc{
      text-align: center;
    }

  



}


.animate-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

/* When the element is visible */
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}
footer {
  padding: 20px 0;
  color: var(--navLabel);
  text-align: center;
  position: relative;
  margin-top:50px;
  font-family:var(--universalFont)
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 80rem;
  margin: 0 auto;
  flex-wrap: wrap;  /* Allows items to wrap in smaller screens */
}

.footer-left,
.footer-center,
.footer-right {
  flex: 1 1 30%;
  padding: 10px;
}

.footer-center ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-center ul li {
  margin: 0 10px;
}

.footer-center ul li a {
  text-decoration: none;
  color: var(--navLabel);
  font-size: 14px;
}

.footer-right p {
  font-size: 14px;
}

.social-icons {
  margin-top: 10px;
}

.social-icons i {
  font-size: 18px;
  margin: 0 8px;
  cursor: pointer;
  transition: transform 0.3s;
}

.social-icons i:hover {
  transform: translateY(-4px);
}

/* Add border-top effect without a background */
footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%; /* Control the width of the border */
  font-family:var(--universalFont2);
  border-top: 1px solid var(--tableBorder); /* Color of the border */
}

/* Mobile Styling */
@media (max-width: 768px) {
  .footer-content {
      flex-direction: column;  /* Stack the items vertically */
      text-align: center;
  }

  .footer-left,
  .footer-center,
  .footer-right {
      flex: 1 1 100%;  /* Let each section take full width on mobile */
      padding: 15px 0;
  }

  .footer-center ul {
      flex-direction: column;  /* Stack the list items vertically */
  }

  .footer-center ul li {
      margin-bottom: 10px;  /* Space out the links vertically */
  }

  .social-icons {
      display: flex;
      justify-content: center;
  }
}




#pricing-section{
  margin-top:50px;
  padding:2rem
}


.pricing-title {
  font-family: var(--universalFont);
  font-size: 1rem;
  color: var(--primaryLabel);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}


.pricing-header {
  font-family: var(--universalFont);
  font-size: 2rem;
  text-align: center;
  color: var(--primaryLabel);
  margin-bottom: 10px;
}

.pricing-subheader {
  font-family: var(--universalFont2);
  font-size: 1rem;
  color: var(--secondaryLabel);
  margin-bottom: 40px;
}


.most-popular {
  font-family: var(--universalFont2);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--navLabel);
  background-color: var(--accentColor);
  padding: 5px 10px;
  border-radius: var(--universalRoundedCorners);
  position: absolute;
  top: -10px;
  right: -10px;
  transform: translate(10%, 10%);
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.15);
}

.pricing-options {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: center;
  align-items: center;
  position: relative;
}

.pricing-option {
  position: relative;
  border: 1px solid var(--secondaryLabel);
  border-radius: var(--universalRoundedCorners);
  padding: 20px 30px;
  text-align: center;
  font-family:var(--universalFont);
  color:var(--navLabel);
  background-color: var(--background);
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.pricing-option a{
  text-decoration:none;
  text-wrap: nowrap;
}

.pricing-option.highlighted {
  border: 2px solid var(--accentColor);
  background: linear-gradient(135deg, var(--accentColor) 0%, var(--background) 100%);
  color: var(--navLabel);
}

.pricing-option:hover {
  transform: scale(1.05);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
}

.pricing-option h3 {
  font-family: var(--universalFont);
  font-size: 2rem;
  margin-bottom: 10px;
}

.pricing-option h3 .small-text {
  font-size: 0.75rem;
}
