/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: 'Montserrat', sans-serif;
  height: 100%;
  width: 100%;
  background: #000;   /* fundal total negru */
  color: #f5f5f5;     /* text gri-deschis, lizibil */
  line-height: 1.6;
}

/* ================= HOMEPAGE ================= */
.hero {
  min-height: 100vh;
  background: #000;
  position: relative;
}

.overlay {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  padding: 100px 20px 40px; /* spațiu mai jos */
}

.overlay > * {
  max-width: 900px;
  width: 100%;
}

/* Logo */
.logo {
  width: 120px;       /* echilibrat față de text */
  margin-bottom: 25px;
}

@media (max-width: 768px) {
  .logo {
    width: 70px;      /* mic pe mobil */
    margin-bottom: 20px;
  }
}

/* Title & tagline */
h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #fff;
}

.tagline {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: #d1d1d1;
}

/* CTA Buttons */
.app-buttons {
  display: flex;
  gap: 15px;
  margin: 20px 0;
  flex-wrap: wrap;
  justify-content: center;
}

.store-btn {
  background: #111;
  border: 1px solid #4c9eff;
  padding: 10px 16px;
  border-radius: 8px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}
.store-btn:hover {
  background: #4c9eff;
  transform: scale(1.05);
}

/* Screenshot */
.screenshot {
  margin: 40px 0;
}
.screenshot img {
  width: 180px; /* scalat corect față de text */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

@media (max-width: 768px) {
  .screenshot img {
    width: 120px; /* mic pe mobil */
  }
}

/* Features */
.features {
  margin-top: 30px;
  max-width: 800px;
  text-align: center; /* CENTRAT pe toate ecranele */
}
.features h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: #4c9eff;
}
.features li {
  margin: 8px 0;
  font-size: 1.05rem;
  list-style: none; /* elimină bullet-ul implicit */
}

/* Business section */
.business {
  margin-top: 30px;
  max-width: 800px;
  font-size: 1rem;
  text-align: center; /* CENTRAT pe toate ecranele */
}

/* Footer */
footer {
  margin-top: 40px;
  font-size: 0.9rem;
  text-align: center;
  color: #aaa;
}
footer a {
  color: #4c9eff;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

/* ================= LANGUAGE SWITCHER ================= */
.lang-switcher {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  background: rgba(0,0,0,0.4);
  padding: 3px 8px;
  border-radius: 5px;
}
.lang-switcher a {
  color: #fff;
  text-decoration: none;
}
.lang-switcher a:hover {
  text-decoration: underline;
}

/* ================= LEGAL PAGES ================= */
body.legal {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100px 20px 40px; /* text începe mai jos */
  text-align: center; /* CENTRAT PE MIJLOC */
}

body.legal header,
body.legal main,
body.legal footer {
  max-width: 900px;
  width: 100%;
}

body.legal header {
  text-align: center;
  margin-bottom: 30px;
}

body.legal h1 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #fff;
}

body.legal h2 {
  margin-top: 20px;
  color: #4c9eff;
}

body.legal p,
body.legal ul {
  margin: 10px 0;
  font-size: 1rem;
  color: #ddd;
}

body.legal footer {
  margin-top: 40px;
  text-align: center;
  font-size: 14px;
  color: #aaa;
}

/* ================= MOBILE OPTIMIZATION ================= */
@media (max-width: 768px) {
  h1 {
    font-size: 1.8rem;
  }
  .tagline {
    font-size: 1rem;
  }
  .features h2 {
    font-size: 1.3rem;
  }
  .features li {
    font-size: 0.9rem;
  }
  .business {
    font-size: 0.9rem;
  }
  body.legal {
    padding: 80px 15px 30px;
    text-align: center; /* text centrat și pe mobil */
  }
  body.legal h1 {
    font-size: 1.5rem;
  }
  body.legal h2 {
    font-size: 1.1rem;
  }

  /* LANG SWITCHER pe mobil centrat */
  .lang-switcher {
    position: relative;
    top: 0;
    right: 0;
    margin: 0 auto 15px auto;
    display: inline-block;
    background: transparent;
    padding: 0;
  }
  .lang-switcher a {
    font-size: 1rem;
  }
}
