/*----Main Hero Section Styles----*/

#hero {
    position: relative;
    z-index: 2;
    text-align: center;
    cursor: default;
    height: calc(112vh - 16rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  #hero .tagline {
    color: rgb(161 163 247);
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 2rem;
    text-shadow: 0px 5px 5px #000;
    animation: slide-down 1.5s ease forwards;
    opacity: 0;
    animation-delay: 0.5s;
  }
  
  #main-valueprop {
    /*margin-top: 10.5rem;*/
    font-size: 5rem;
    color: #fff;
    font-weight: 700;
    line-height: 1;
    animation: fade-in 1s ease forwards;
    opacity: 0;
    user-select: none;
  }
  
  #secondary {
    font-size: 4.5rem;
  }
  
  #skin-texture {
    background: url(/images/hyperbeast.jpg) no-repeat center;
    filter: saturate(150%);
    background-size: cover;
    -webkit-background-clip: text;
    background-clip: text; /* Future-proofing (non-WebKit) */
    -webkit-text-fill-color: transparent;
  }
  
  #support-valueprop {
    margin-top: 4.5rem;
    font-size: 1.2rem;
    line-height: 1.8rem;
    color: rgb(174 178 183);
    width: 500px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  
  #support-valueprop p {
    animation: slide-up 1s ease forwards;
    opacity: 0;
    animation-delay: 0.6s;
  }
  
  #cta-message {
    margin-top: 1rem;
    color: rgb(254 215 170);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.8rem;
    text-shadow: 0px 5px 5px #000;
    display: block;
    background: #3c3938;
    padding: 5px 10px;
    border-radius: 15px;
    user-select: none;
    position: relative;
    filter: brightness(1);
    transition: filter 0.5s ease;
  }
  
  #cta-message:hover {
    filter: brightness(0.8);
  }
  
  @property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
  }
  
  #cta-message::after,
  #cta-message::before {
    content: "";
    position: absolute;
    opacity: 0;
    height: 100%;
    width: 100%;
    background-image: conic-gradient(
      from var(--angle),
      transparent 50%,
      rgb(254 215 170)
    );
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    z-index: -1;
    padding: 3px;
    border-radius: 15px;
    animation: 8s spin linear infinite;
  }
  
  #cta-message::before {
    filter: blur(1rem);
    opacity: 0.3;
  }

  #powered-by {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    bottom: -4rem;
    animation: fade-in 4s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
  }

  #powered-by p {
    font-size: 1.2rem;
    line-height: 1.8rem;
    color: rgb(174 178 183);
    padding-bottom: 1rem;
  }
  .powered-by-logos {
    display: flex;
    justify-content: center; /* Aligns logos horizontally */
    align-items: center; /* Aligns logos vertically */
    gap: 30px; /* Adds equal spacing between logos */
}

  .powered-by-logos svg {
    display: block;
    height: 50px; /* Set a uniform height */
    width: auto; /* Maintains aspect ratio */
    max-width: 120px; /* Ensures they don’t exceed a set width */
}

#csstats-logo {
  font-family: Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.powered-by-logos svg,
#csstats-logo {
    transition: transform 0.3s ease-in-out; /* Smooth transition */
    cursor: default;
}

.powered-by-logos svg:hover,
#csstats-logo:hover {
    transform: scale(1.05); /* Slight zoom-in effect */
}

  .stats {
  color: rgb(56, 114, 252);
}
  
  /*----Animations----*/
  
  @keyframes fade-in {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  @keyframes slide-up {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes slide-down {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes spin {
    from {
      --angle: 0deg;
    }
    to {
      --angle: 360deg;
    }
  }
  
  /*----Mobile Responsiveness----*/
  
  .mobile-br {
    display: none;
  }
  
  @media (max-width: 671px) {
    br.mobile-br {
      display: inline-block;
    }
    #main-valueprop,
    #main-valueprop span,
    #main-valueprop p {
      font-size: 3.75rem;
      margin: 0;
    }
    .tagline p {
      font-size: 1rem;
    }
    .powered-by-logos svg {
      height: 50px;       /* Reduced height */
      max-width: 95px;    /* Reduced max width */
    }
    #support-valueprop {
      margin-top: 4rem;
    }
    
  }
  