/* HERO BACKGROUND */
.hero {
  background: url('/assets/hero.jpg') center/cover no-repeat;
  position: relative;
}

/* DARK OVERLAY FOR READABILITY */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 0;
}

.logo {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  z-index: 2;
}

.lang-switch {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: #ccc;
  font-size: 0.9rem;
  text-decoration: none;
  z-index: 2;
}

.intro,
.early-access,
.about {
  max-width: 480px;
  margin-top: 1rem;
  color: #ddd;
  line-height: 1.5;
  text-align: center;
}

.early-access {
  font-weight: 500;
  color: #eee;
}

.footer {
  margin-top: 3rem;
  font-size: 0.85rem;
  color: #aaa;
  text-align: center;
  line-height: 1.4;
}

.footer a {
  color: #aaa;
  text-decoration: none;
}


/* ENSURE ALL CONTENT SITS ABOVE OVERLAY */
body > * {
  position: relative;
  z-index: 1;
}

/* PAGE LAYOUT */
body {
  margin: 0;
  padding: 0;
  background: #0d0d0d;
  color: #ffffff; /* white text */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
}

/* TYPOGRAPHY */
h1 {
  font-size: 3rem;
  letter-spacing: 0.1rem;
  color: #ffffff; /* ensure white */
}

p {
  opacity: 0.85;
  margin-top: 0.5rem;
  color: #e5e5e5; /* light grey for readability */
}

/* FORM */
form {
  margin-top: 2rem;
}

input {
  padding: 0.7rem 1rem;
  border: none;
  border-radius: 4px;
  margin-right: 0.5rem;
  width: 220px;
}

button {
  padding: 0.7rem 1.2rem;
  background: #ffffff;
  color: #000;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}

/* LANGUAGE LINK */
a {
  color: #ccc;
  margin-top: 1.5rem;
  display: inline-block;
}