@import url("https://fonts.googleapis.com/css2?family=Inter&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background: black;
  height: 100vh;
}
/* Smooth transition for theme change */
body.enable-transition,
body.enable-transition * {
  transition: background-color 0.6s ease, color 0.6s ease,
    border-color 0.6s ease;
}
#vanta-bg {
  transition: opacity 0.5s ease;
}
header {
  width: 100%;
  background: transparent;
  padding: 25px 0;
  /* border-bottom: 1px solid #dfdddd; */
}

.fading-line {
  height: 1px;
  margin: auto;
  width: 80%; /* adjust as needed */
  background: linear-gradient(to right, transparent, #888, transparent);
  opacity: 0.5;
}
#vanta-bg {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1; /* Behind all content */
}

nav {
  width: 95%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  color: rgb(255, 255, 255);
  font-size: 30px;
  font-family: "Inter", sans-serif;
  font-weight: bold;
}

.buttons {
  display: flex;
  gap: 20px;
}
.buttons button {
  padding: 8px 20px;
  background: transparent;
  border: 0;
  color: white;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 0.89rem;
  cursor: pointer;
}

.buttons .signup {
  color: #262626;
  background: #fff;
  border-radius: 10px;
  font-weight: 500;
}
.buttons .signup:hover {
  background: #dfdddd;
}

#profileButton {
  border: 1px solid #fff;
  border-radius: 50px;
  padding: 12px 15px;
}
.showcase {
  text-align: center;
  height: 55vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  gap: 30px;
  width: 95%;
  margin: auto;
}
.showcase h1 {
  font-size: 60px;
  font-family: "Inter", sans-serif;
  color: #fff;
  font-weight: 800;
}
.showcase p {
  font-family: "Inter", sans-serif;
  color: #fff;
  font-weight: 600;
  font-size: 30px;
}
.showcase small {
  font-size: 20px;
  color: #fff;
  font-family: "Inter", sans-serif;
}
.showcase > button {
  padding: 10px 20px;
  background: #fff;
  border: 0;
  color: #262626;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 0.89rem;
  cursor: pointer;
  border-radius: 10px;
}
.fade-tagline {
  transition: opacity 0.6s ease-in-out;
  opacity: 1;
}

.fade-out {
  opacity: 0;
}

html {
  scroll-behavior: smooth;
}
::-webkit-scrollbar {
  display: none;
}
footer {
  color: white;
  text-align: center;
  position: fixed;
  bottom: 0;
  background: #0a0a0a;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 5px 20px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
}
footer h3 {
  font-weight: 500;
}
footer a:hover {
  color: white;
}

/* Theme Toggle Button Styling */
#theme-toggle {
  position: fixed;
  bottom: 90px;
  left: 20px;
  background-color: #ffffff;
  color: #262626;
  border: none;
  padding: 10px 15px;
  border-radius: 8px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, color 0.3s ease;
  z-index: 999;
}

#theme-toggle:hover {
  background-color: #dfdddd;
}

/* LIGHT MODE OVERRIDES */
body.light {
  background: #f5f5f5;
  color: #111;
}

body.light .logo,
body.light .buttons button,
body.light .showcase p,
body.light .showcase small {
  color: #111;
}

body.light .showcase > button,
body.light .buttons .signup {
  background: #111;
  color: white;
}

body.light .buttons .signup:hover,
body.light .showcase > button:hover {
  background: #111;
}

body.light footer {
  background: #eeeeee;
  color: #111;
}

body.light footer a:hover {
  color: #000;
}

body.light #theme-toggle {
  background-color: #222;
  color: #fff;
}

body.light #theme-toggle:hover {
  background-color: #333;
}

@media screen and (max-width: 500px) {
  header {
    padding: 18px 0;
  }
  .logo {
    font-size: 25px;
  }
  .buttons button {
    padding: 6px 15px;
    font-size: 0.75rem;
  }

  footer {
    font-size: 13px;
    flex-direction: column;
    gap: 10px;
  }
}

@media screen and (max-width: 390px) {
  .logo {
    font-size: 20px;
  }
  .showcase p {
    font-size: 25px;
  }
  .showcase small {
    font-size: 16px;
  }
  .showcase button {
    font-size: 0.75rem;
  }
  .buttons button {
    padding: 6px 11px;
    font-size: 10px;
  }

  #profileButton {
    border: 1px solid #fff;
    border-radius: 50px;
    padding: 10px 13px;
  }

  footer {
    font-size: 10px;
  }
  #theme-toggle {
    bottom: 60px;
    right: 15px;
    width: fit-content;
  }
  /* .showcase img {
    height: 70vh;
  } */
}
