/* Base Styles */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #121212;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center content vertically */
  align-items: center;
  min-height: 100vh;
}

a {
  color: #6EC1E4;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 20px;
  width: 90%; /* Allow flexibility for smaller screens */
  max-width: 1200px;
  margin-top: 100px;
}

.container {
  flex: 1; /* Allows the container to take up all available space between the body and footer */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.logo {
  max-width: 70%;
  margin-bottom: -100px;
}

.headline {
  font-size: 3rem;
  font-weight: 700;
  margin: 0 0 20px;
  background: linear-gradient(90deg, #56CCF2, #2F80ED);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtext {
  font-size: 1.25rem;
  line-height: 1.8;
  margin: 0 0 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Form Styles */
.signup-form {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap; /* Allow wrapping for smaller screens */
  gap: 10px; /* Consistent spacing between elements */
  margin-bottom: 20px;
  width: 100%; /* Ensure form spans the available space */
  max-width: 600px;
}

.signup-form input[type="email"] {
  padding: 12px 15px;
  font-size: 1rem;
  border: 1px solid #6EC1E4;
  border-radius: 4px;
  outline: none;
  width: 100%; /* Full width for smaller screens */
  max-width: 300px;
  background: #1F1F1F;
  color: #FFFFFF;
  box-sizing: border-box;
}

.signup-form input::placeholder {
  color: #999999;
}

.signup-form button {
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 4px;
  background: linear-gradient(90deg, #56CCF2, #2F80ED);
  color: #FFFFFF;
  cursor: pointer;
  width: 100%; /* Full width for smaller screens */
  max-width: 150px;
  box-sizing: border-box;
}

.signup-form button:hover {
  background: linear-gradient(90deg, #2F80ED, #56CCF2);
}

.small-text {
  font-size: 0.9rem;
  color: #CCCCCC;
  text-align: center;
  margin-top: 10px;
}

.subtext strong {
  color: #56CCF2;
  font-size: 1.4rem;
}


/* Footer */
footer {
  text-align: center;
  font-size: 0.8rem;
  color: #555555;
  width: 100%;
  margin-top: auto; /* Push the footer to the bottom */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .headline {
    font-size: 2.5rem;
  }

  .subtext {
    font-size: 1.1rem;
  }

  .subtext strong {
    font-size: 1.25rem;  /* Scaled down from 1.4rem */
  }

  .subtext strong {
    font-size: 1.15rem;  /* Further reduced for tablets */
  }

  .logo {
    max-width: 80%;
    margin-bottom: -80px;
  }
}

@media (max-width: 768px) {
  .hero {
    width: 95%; /* Reduce padding for tablets */
  }

  .headline {
    font-size: 2rem;
  }

  .subtext {
    font-size: 1rem;
  }

  .logo {
    max-width: 70%;
    margin-bottom: -60px;
  }
}

@media (max-width: 480px) {
  .headline {
    font-size: 1.8rem;
  }

  .subtext {
    font-size: 0.9rem;
  }

  .signup-form input[type="email"],
  .signup-form button {
    max-width: 100%; /* Full width for mobile */
  }

  .logo {
    max-width: 60%;
    margin-bottom: -50px;
  }
}

@media (max-width: 360px) {
  .headline {
    font-size: 1.5rem;
  }

  .subtext {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .signup-form input[type="email"],
  .signup-form button {
    font-size: 0.9rem; /* Adjust font sizes for very small screens */
  }
}
