/* CSS Reset */

@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --primary-color: #909cda;

  --secondary-color: #f2909f;

  --text-color: #8c8c8c;
}

* {
  margin: 0;

  padding: 0;

  box-sizing: border-box;

  font-family: "Poppins", sans-serif;

  font-size: 16px;
}

html,
body {
  display: flex;

  flex-direction: column;

  width: 80%;

  height: 100%;

  font-size: 100%;

  font-family: sans-serif;

  margin: 0 10%;

  padding-top: 3%;
}

header {
  display: flex;

  justify-content: space-between;

  margin-bottom: 9%;

  align-items: center;
}

.flag {
  width: auto;

  height: 25px;
}

main {
  display: flex;

  flex-direction: column;

  justify-content: center;

  align-items: center;

  padding: 0;
}

img,
picture,
video,
canvas,
svg {
  display: block;

  max-width: 100%;
}

a {
  text-decoration: none;

  color: inherit;
}

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;

  border: none;

  background: none;

  outline: none;
}

table {
  border-collapse: collapse;

  border-spacing: 0;
}

.hero {
  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 64px;
}

.hero-content {
  display: flex;

  flex-direction: column;

  justify-content: center;

  /* align-items: center; */

  width: 70%;
}

h1 {
  font-size: 40px;

  color: var(--primary-color);

  text-transform: uppercase;

  margin-bottom: 32px;
}

p {
  font-size: 18px;

  line-height: 25.9px;

  font-weight: 500;

  color: var(--text-color);

  margin-bottom: 56px;
}

input {
  width: 100%;

  padding: 10px;

  border-radius: 16px;

  border: 2px solid var(--text-color);

  margin-bottom: 20px;

  height: 52px;

  color: var(--text-color);

  font-weight: 500;
}

input:focus {
  border: 3px solid var(--primary-color);

  outline: none;
}

input::placeholder {
  color: var(--text-color);
}

button,
.lang-suggest-link {
  padding: 8px 16px;

  height: 52px;

  border-radius: 16px;

  border: none;

  background-color: var(--primary-color);

  color: white;

  cursor: pointer;

  font-size: 18px;
}

form {
  display: flex;

  gap: 16px;

  width: 100%;
}

.alert {
  display: none;

  font-weight: 500;

  color: #6bd26b;
}

.waitlist-text {
  font-style: italic;

  color: var(--primary-color);

  font-weight: 500;
}

.socials {
  display: flex;
  flex-direction: column;
  margin-top: 12%;
  padding-bottom: 10%;
  gap: 20px;
}

.socials p {
  margin: 0;
  font-size: 16px;
}

.socials .icons {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.socials svg {
  fill: var(--text-color);
  width: 24px;
}

.socials svg:hover {
  fill: var(--primary-color);
}

.lang-suggest-box {
  display: none;
  flex-direction: column;
  position: fixed;
  padding: 20px;
  top: 16px;
  right: 16px;
  z-index: 9999;
  background: #fff;
  border: 2px solid var(--primary-color);
  color: var(--text-color);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  font-family: Poppins, sans-serif;
  max-width: 400px;
}

.lang-suggest-box.active {
  display: flex;
}

.lang-suggest-title {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 2%;
}

.lang-suggest-message {
  margin-bottom: 2%;
  font-weight: 400;
}

.lang-suggest-close {
  background: white;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  font-weight: 500;
}

.lang-suggest-box .footer {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  gap: 16px;
}

.lang-suggest-box .footer button {
  max-height: 48px !important;
  width: 100%;
}

/* Responsive Design Breakpoints */

@media (max-width: 1200px) {
  html,
  body {
    width: 90%;

    margin: 0 5%;
  }

  .hero-content {
    width: 80%;
  }

  h1 {
    font-size: 36px;
  }

  p {
    font-size: 16px;
  }
}

@media (max-width: 1010px) {
  html,
  body {
    width: 90%;
  }

  .hero {
    flex-direction: column;
    gap: 24px;
  }

  .hero-content {
    width: 100%;

    margin-bottom: 10%;
  }

  h1 {
    font-size: 32px;
  }

  form {
    flex-direction: column;

    gap: 12px;
  }

  .lang-suggest-box {
    left: 16px;
  }
}

@media (max-width: 780px) {
  html,
  body {
    width: 95%;

    margin: 0 auto;
  }

  header {
    display: flex;

    justify-content: center;
  }

  main {
    flex-direction: column;

    align-items: center;
  }

  h1 {
    font-size: 28px;

    margin-bottom: 16px;
  }

  p {
    font-size: 15px;

    margin-bottom: 32px;
  }

  .waitlist-text {
    font-size: 14px;
  }

  button,
  .lang-suggest-link {
    font-size: 16px;
    font-weight: 500;
  }

  .alert,
  .waitlist-text {
    margin-top: 16px;

    text-align: center;
  }

  .socials p {
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  header {
    margin-top: 5%;

    margin-bottom: 15%;
  }

  h1 {
    font-size: 24px;
  }

  p {
    font-size: 14px;
  }

  input,
  button,
  .lang-suggest-link {
    height: 48px;

    font-size: 14px;
  }

  .lang-suggest-message {
    font-weight: 500;
  }
}
