/* Landing page background animation and sections */
.hero {
  min-height: 80vh;
  background: url('/ui/img/landing-bg.jpg') center/cover no-repeat fixed;
  position: relative;
  overflow: hidden;
}

/* subtle moving background using background-position animation */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  background-size: cover;
  filter: brightness(0.25); /* darker to improve text contrast */
  z-index: -1;
  animation: bg-pan 60s linear infinite;
}

/* soft left-to-right vignette to make left-side text pop */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.35) 40%, rgba(0,0,0,0) 80%);
  z-index: -1;
}

@keyframes bg-pan {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* glass panel for hero text */
.hero-card {
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 24px;
}

/* subtle text shadow for readability */
.hero h1, .hero p.lead {
  text-shadow: 0 2px 6px rgba(0,0,0,.6);
}

.feature-card:hover {
  transform: translateY(-2px);
  transition: transform .2s ease;
}

.plan-card {
  border-radius: .75rem;
}

/* language switch button in top-right corner */
.lang-switch {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 1050;
}
.lang-switch button {
  border: none;
  background: rgba(0,0,0,.55);
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 20px;
  line-height: 1;
}
.lang-switch button:hover {
  background: rgba(0,0,0,.7);
}
